Announcement Announcement Module
No announcement yet.
Queue Reference Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Queue Reference


    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 ?

  • #2
    Can the routing key help, right now I am using "" as the routing key.
    Last edited by gargkshitiz; Aug 2nd, 2011, 11:29 AM.


    • #3
      I have worked it out . 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