<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Hi Jerry,</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">That was quite nice answer, I appreciate. </SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Now I am thinking to manage record of table to represents the binding. Hope it would serve what I intended to do. <VAR id=yui-ie-cursor></VAR></SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Actually I am not very good at progamming I find the idea interesting but find difficulty in implemeting. As I am so much confused about this binding. </SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">However Thanks for your support thats he only forum where I hope to get something.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Best Regards,</SPAN> </div>
<div style="RIGHT: auto">Saima</div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Jerry Kuch <jerryk@vmware.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Saima Asif <abdullahsaima@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> Emile Joubert <emile@rabbitmq.com>; rabbitmq-discuss@lists.rabbitmq.com <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, 2 February 2012, 16:53<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [rabbitmq-discuss] help required: bind function<BR></FONT></DIV><BR>Hi, Saima.<BR><BR>If you're trying to to implement some aspect of the actual AMQP<BR>message transport, for
learning purposes, you might consider following<BR>RabbitMQ's structure.<BR><BR>In Rabbit, a binding of an exchange to a queue is essentially a record<BR>in a table somewhere saying this exchange is bound to this queue, with<BR>this associated routing key.<BR><BR>The actual work of getting a message published to that exchange into<BR>an appropriate bound queue, is actually done by the process associated<BR>with the communications channel used by the message's sender. Essentially<BR>it looks up the particulars of the exchange, determines what routing logic<BR>is appropriate to use for that exchange type, looks at the message's routing<BR>key if appropriate, and tries to match it to a binding. If match(es) are<BR>found, the message is forwarded to a process representing the queue, which is<BR>responsible for its contents. Almost symmetrically on the consumer side, <BR>a consumer's channel talks to the queue it's consuming from to ask it
to <BR>disgorge its messages.<BR><BR>Apologies if this isn't quite what you're asking... I confess I may not fully <BR>grasp the ultimate intent of your investigations...<BR><BR>Best regards,<BR>Jerry<BR><BR>----- Original Message -----<BR>From: "Saima Asif" <<A href="mailto:abdullahsaima@yahoo.com" ymailto="mailto:abdullahsaima@yahoo.com">abdullahsaima@yahoo.com</A>><BR>To: "Emile Joubert" <<A href="mailto:emile@rabbitmq.com" ymailto="mailto:emile@rabbitmq.com">emile@rabbitmq.com</A>>, <A href="mailto:rabbitmq-discuss@lists.rabbitmq.com" ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</A><BR>Sent: Thursday, February 2, 2012 4:09:52 AM<BR>Subject: Re: [rabbitmq-discuss] help required: bind function<BR><BR><BR><BR><BR>Thank you very much Emile and Aamir for your kind replies. <BR><BR>Infact I know the basic concept of binding, if a queue is bounded to exchange then that queue wants to receive the
message from that particular exchange. But I am so sorry I dont know how to interpret this relationship into programming langauge i.e. C++. How can I specify the queue that now this queue will recieve messages from this exch ange. I have consulted all the material, But the problem is writing and interpreting. I am so sorry I think it would be a big ask. <BR><BR>Any help would be highly appreiated. <BR><BR><BR>Saima <BR><BR><BR><BR>From: Emile Joubert <<A href="mailto:emile@rabbitmq.com" ymailto="mailto:emile@rabbitmq.com">emile@rabbitmq.com</A>> <BR>To: <A href="mailto:rabbitmq-discuss@lists.rabbitmq.com" ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</A>; <A href="mailto:abdullahsaima@yahoo.com" ymailto="mailto:abdullahsaima@yahoo.com">abdullahsaima@yahoo.com</A> <BR>Sent: Thursday, 2 February 2012, 9:51 <BR>Subject: Re: [rabbitmq-discuss] help required: bind function <BR><BR>Hi Saima, <BR><BR>On 31/01/12
22:23, Saima Asif wrote: <BR>> I am student , and my supervisor and I have chosen to implement and <BR>> study it at very simpler level. my classes are not refined. There is one <BR>> class "message" which has a routing key. <BR>> I need your help how can I write Bind() function for this. <BR><BR>Keep in mind that binding is an operation on a queue, not a message. See <BR><A href="http://www.rabbitmq.com/amqp-0-9-1-reference.html#class.queue" target=_blank>http://www.rabbitmq.com/amqp-0-9-1-reference.html#class.queue</A> for queue <BR>operations. <BR><BR>Have you taken a look at the tutorials at <BR><A href="http://www.rabbitmq.com/getstarted.html" target=_blank>http://www.rabbitmq.com/getstarted.html</A> ? <BR>They introduce AMQP concepts (including binding) in a way that should be <BR>of help. Unfortunately no C or C++ translation exists, but if you feel <BR>brave you could contribute this. <BR><BR>-Emile
<BR><BR><BR><BR>_______________________________________________<BR>rabbitmq-discuss mailing list<BR><A href="mailto:rabbitmq-discuss@lists.rabbitmq.com" ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</A><BR><A href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target=_blank>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</A><BR><BR><BR></DIV></DIV></div></body></html>