<div dir="ltr">Hi Ben,<br><br>Thanks alot for your suggestion.&nbsp; I think writing a AMQP client would be kind of a fun thing to do.&nbsp; I am going to spend some times learning more about the AMQP model.&nbsp;&nbsp; Is it based on socket as well?<br>
<br>I also found those links from Google but I am not able to access those sites from the country where I am at.&nbsp; It is blocked for some reaons.&nbsp; Would you mind to send me the source and blog in email ( <a href="mailto:petedao@gmail.com">petedao@gmail.com</a> )?&nbsp; <br>
<br>Thanks a million for all your help.<br><br>Best Regards,<br>Pete<br><br><br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The alternative to this would be to write a AMQP client in C :-) Once<br>
you have understood the AMQP model, this is not a hard thing to do,<br>
and we have a guide about how to develop AMQP clients for the language<br>
of your choice. So if you&#39;re keen, you will learn a lot about the AMQP<br>
in general, which will be very valueable for any message based<br>
application development. Just a thought.<br>
<div class="Ih2E3d"><br>
&gt; For the Flex side, I guess I have to use STOMP, but for the publishing side,<br>
&gt; I am thinking to use AMQP as there seems to be more examples available for<br>
&gt; reference. &nbsp;Will that work?<br>
<br>
</div>Have you looked at the AS3 client for AMQP as opposed to STOMP?<br>
<br>
<a href="http://github.com/0x6e6562/as3-amqp/tree/master" target="_blank">http://github.com/0x6e6562/as3-amqp/tree/master</a><br>
<br>
Here is one example usage:<br>
<a href="http://hopper.squarespace.com/blog/2008/7/4/server-side-as3.html" target="_blank">http://hopper.squarespace.com/blog/2008/7/4/server-side-as3.html</a><br>
<br>
If you look in the AS3 category on that blog, you will see more examples.<br>
<div class="Ih2E3d"><br>
&gt;<br>
&gt; What I still don&#39;t understand is how the routingkey, ticket, and exchange<br>
&gt; concepts map to the destination in STOMP.<br>
<br>
</div>If you don&#39;t really need to use STOMP, you can use plain jane AMQP<br>
with the AS3 library I mentioned above, so the semantics are identical<br>
to those of the Java AMQP client.<br>
<br>
HTH,<br>
<font color="#888888"><br>
Ben<br>
</font></blockquote></div><br></div>