Hello,
So I am pretty much a newbie here with Qpid.
I have a simple question if I may, how do I use the alt-exchange in java
with AMQP/QPid?
Suppose I want to send the message to a non-existent queue (but I am
completely unaware of that), can I use the alt-exchange to "catch" all those
messages that actually have nowhere to go?
Something like that :
I have not created anything yet on the MRG side.
Queue myQueue = session.createQueue("myQueue; {create:never, delete:never,
assert: always, node:{type:queue, x-declare:{alt-exchange: DLQ_QUEUE}} }");
Then send a simple message.
Of course I have tried that, but all I get is :
"The name 'myQueue' supplied in the address doesn't resolve to an exchange
or a queue"
Can someone explain me then the purpose of alt-exchange?
Thank You,
Eugene.
--
View this message in context:
http://apache-qpid-developers.2158895.n2.nabble.com/Red-Hat-MRG-alt-exchange-tp7368166p7368166.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]