How to move a msmq message to a subqueue
Asked Answered
S

2

5

Using the System.Messaging classes, how do I move a msmq message (in this case a poison message) to a subqueue?

Seems like this should be simple, but I haven't been able to figure it out.

Strophic answered 7/4, 2011 at 18:13 Comment(4)
Aren't subqueues just for WCF usage?Interfluve
Wouldn't you want to use a normal queue for that? Like a dead letter queue?Radman
Subqueues are an MSMQ feature. "Move" is available from the unmanaged api: msdn.microsoft.com/en-us/library/ms701502(VS.85).aspxStrophic
@010110 I want a subqueue mainly so that it is easy to move them back to the main queue from the GUI once I've fixed the problem.Strophic
S
6

This does not appear to be possible. Ayende resorts to the unmanaged API in Rhino Service Bus, and if he can't do it then I certainly can't.

Strophic answered 7/4, 2011 at 19:43 Comment(0)
W
3

For the record, I just learned today via a colleague that Microsoft finally added support for addressing subqueues in 4.0.

Wall answered 9/7, 2013 at 18:30 Comment(1)
this link is deadBrianbriana

© 2022 - 2024 — McMap. All rights reserved.