On 09/09/2013 07:23 PM, Rajesh Khan wrote:
Any suggestion then on how Qpid could find out if a certain sender
disconnected. What I want to do is alert the listeners that the sender
application they were listening to has been disconnected.

One option would be to have the sender declare an exclusive, auto-delete queue with the alternate-exchange specified to be the exchange that sender is sending to, and to then send a 'special' message to that queue.

When the sender is disconnected, this queue will be deleted and the now orphaned message will be delivered to the exchange where it will be enqueued to any matching subscription queues and then be delivered to the subscribers.

The subscribers could then recognise this special message as an indication that the sender was disconnected.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to