On 04/25/2011 07:32 PM, David Hawthorne wrote:
What is the difference between the values give in the node x-declare block and 
the link x-declare block?  They both refer to values used in queueDeclare, but 
it seems like they are not equivalent.

The 'node' is the primary broker entity of interest, usually the rendezvous point between senders and receivers. The 'link' is the association between senders/receivers and that node.

In the case of a 'topic' the node is an exchange and the receivers link involves a subscription queue that is bound to that exchange and a subscription to that queue.

Therefore in this case the x-declare in the node block will control the declaration of the exchange (if necessary), while that in the link block will control the subscription queue that is bound to the exchange.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to