Re: AMQP and Node.js

2013-07-16 Thread Gordon Sim
On 07/15/2013 08:55 PM, James Carr wrote: I would raise an issue on the original github project so it can get added. That is certainly a good idea... node-amqp should be a one stop place for working with amqp rather than having to make a bunch of modules for each concrete implementation. ..

Re: AMQP and Node.js

2013-07-16 Thread Gordon Sim
On 07/15/2013 06:46 PM, razeone wrote: Thanks a lot Gordon, your answer gave me a very good alternative to STOMP and it looks like works fine. Now I have been connected, the question I have now is: How do I establish content based routing? I mean, pass selector headers, it is possible with AMQP?

Re: AMQP and Node.js

2013-07-15 Thread James Carr
I would raise an issue on the original github project so it can get added. node-amqp should be a one stop place for working with amqp rather than having to make a bunch of modules for each concrete implementation. On Mon, Jul 15, 2013 at 2:48 PM, Christian Posta wrote: > You can pass a "jms styl

Re: AMQP and Node.js

2013-07-15 Thread Christian Posta
You can pass a "jms style" selector in the AMQP message with the header key of "'jms-selector" and ActiveMQ will observe the selector for your consumer. However, the particular node project referenced by Gordon does not allow you to set custom headers on the subscribe frame. Might be able to hack i

Re: AMQP and Node.js

2013-07-15 Thread razeone
Thanks a lot Gordon, your answer gave me a very good alternative to STOMP and it looks like works fine. Now I have been connected, the question I have now is: How do I establish content based routing? I mean, pass selector headers, it is possible with AMQP? I really appreciate your help :) --

Re: AMQP and Node.js

2013-07-12 Thread Gordon Sim
On 07/12/2013 05:00 PM, Gordon Sim wrote: On 07/12/2013 02:45 AM, razeone wrote: Well, I have this Node.js application that uses STOMP to connect to ActiveMQ. Everithing was cool until I needed better performance, and que STOMP implementations in Node.js are more like personal projects. So, loo

Re: AMQP and Node.js

2013-07-12 Thread Gordon Sim
On 07/12/2013 02:45 AM, razeone wrote: Well, I have this Node.js application that uses STOMP to connect to ActiveMQ. Everithing was cool until I needed better performance, and que STOMP implementations in Node.js are more like personal projects. So, looking for the ActiveMQ documentation, I real