Hi,
I am trying to change the gemfire supported implementation to a rabbitMQ supported implementation with the help of Spring AMQP 1.0.0.RC2.
My receiver has created a "sampleQueue" and is listening there. Now to send a message to that queue from the sender's side, I need to create an exchange "sampleExchange" and bind it to "sampleQueue". So that my receiver gets the message.
However, for binding, I need to have a 'queue' reference
but I only have the name of the queue ("sampleQueue"). Is there a way to get the queue reference by just knowing its name ?Code:(amqpAdmin.declareBinding(BindingBuilder.bind(queue).to(exchange).with(ROUTING_KEY));)


Reply With Quote
. For a P2P communication, there is no need to create an exchange and bind "sampleQueue" to it. Just get a RabbitTemplate with a routing key="sampleQueue" and that's done. Beautiful, thanks
