<font face="arial" size="2"><p style="margin:0;padding:0;">Hi Alex,</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">The messages will be deleted according to an internal logic... not directly upon consumption. There is no problem using a noack to keep the messages available for another connection on the Q, but, the question is "how to concurently deliver messages to all instances of the same user".</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">Imagine this scenario:</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">I am connected to a Q on my computer. I leave the office and connect to the same Q with my phone. My phone will never receive messages as long as my computer is connected to the Q.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">To get around this problem I intend to use exchange.bind (in place of the named Q) but cannot find much info on it's implementation... Can you point me to some material on exchange.bind?</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">thanks,</p>
<p style="margin:0;padding:0;">Matthew</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">-----Original Message-----<br />From: "Alexis Richardson" <alexis@rabbitmq.com><br />Sent: Tuesday, April 17, 2012 2:37am<br />To: m.luchak@smartasking.com<br />Cc: rabbitmq-discuss@lists.rabbitmq.com<br />Subject: Re: [rabbitmq-discuss] exchange.bind details<br /><br /></p>
<div id="SafeStyles1334655778">
<p style="margin:0;padding:0;">Matthew<br /><br />When do messages get dropped or deleted? I.e. do you want a copy of<br />every message to get delivered to every device?<br /><br />If a user reads a message on their phone, can they read it again later<br />on another device?<br /><br />alexis<br /><br /><br /><br />On Tue, Apr 17, 2012 at 1:40 AM, <m.luchak@smartasking.com> wrote:<br />> Thanks for the help Alexis but the scenario is a little more complicated...<br />> I think exchange binding is the only way to go... but I'm open for<br />> suggestions ;)<br />><br />><br />><br />> Users are able to log-on to the system using more than one device at the<br />> same time (mobile, web, desktop) and it is a requirement that messages are<br />> delivered to each of these devices even if they are all logged on at the<br />> same time. Sooo... I am looking at exchange binding like:<br />><br />><br />><br />> P -> Topic Exchange <------------User1Exchange<br />><br />> |_________temporary Q mobile<br />><br />> |________temporary Q web<br />><br />> |_________temporary Q desktop<br />><br />><br />><br />><br />><br />> Functional Requirements:<br />><br />> Topic exchanges<br />><br />> Messages published to exchange while user offline are available when user<br />> logs-on<br />><br />> One "permanent address" per user (thought of queue - looks like I need<br />> exchange)<br />><br />> multiple instances of the same user logged-on concurrently<br />><br />><br />><br />><br />><br />><br />> -----Original Message-----<br />> From: "Alexis Richardson" <alexis@rabbitmq.com><br />> Sent: Monday, April 16, 2012 6:33pm<br />> To: m.luchak@smartasking.com<br />> Cc: rabbitmq-discuss@lists.rabbitmq.com<br />> Subject: Re: [rabbitmq-discuss] exchange.bind details<br />><br />> Matthew<br />><br />> Have you tried using direct exchanges?<br />> http://www.rabbitmq.com/tutorials/tutorial-three-python.html<br />><br />> alexis<br />><br />><br />> On Mon, Apr 16, 2012 at 11:24 PM, <m.luchak@smartasking.com> wrote:<br />>> Hi all,<br />>><br />>><br />>><br />>> Thanks for the help with the STOMP question. I am having difficulties<br />>> understanding the exchange.bind constructor (ticket, destination,<br />>> source).... Could someone please point me to resources?<br />>><br />>><br />>><br />>> I am trying to implement "exchange.bind"<br />>> (http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/)<br />>> to<br />>> allow multiple instances of the same user presence (android, web, desktop)<br />>> to receive notifications.<br />>><br />>><br />>><br />>> Under the exchange->Q model if all three devices are logged in<br />>> concurrently<br />>> there is no way for all instances to receive messages as they will all be<br />>> logged in on the same Q.<br />>><br />>><br />>><br />>> thanks,<br />>><br />>> Matthew<br />>><br />>><br />>><br />>><br />>><br />>><br />>> _______________________________________________<br />>> rabbitmq-discuss mailing list<br />>> rabbitmq-discuss@lists.rabbitmq.com<br />>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br />>><br />><br />><br />> _______________________________________________<br />> rabbitmq-discuss mailing list<br />> rabbitmq-discuss@lists.rabbitmq.com<br />> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br />></p>
</div></font>