MQ "Light" can help here. It has good node.js integration. 

https://www.ibmdw.net/messaging/2014/02/26/connect-multiple-mq-light-clients-modifying-node-js-samples/

On Monday, 24 January 2011 22:53:46 UTC, Stella Laurenzo wrote:
>
> If you're willing to put a dependency on setting up a trigger queue, you 
> can just use one thread which loops on a blocking read of the common 
> trigger queue.  The message that MQ puts on the trigger queue will signify 
> which actual queue has messages on it waiting to be read.  Your loop then 
> opens the referenced queue, pops a message and dispatches it.  The 
> documentation spells out some other details that make this approach work 
> reliably.
>
> Back when I coded this pattern last, I had the receiver create a temporary 
> queue as the trigger queue and then dynamically alter each queue we were 
> dispatching off of with the right trigger settings.  This is a bit more 
> complicated, though and can just be relegated to requiring the right 
> configuration of the queue manager.
>
> - stella
>
> On Mon, Jan 24, 2011 at 2:42 PM, billywhizz <[email protected]<javascript:>
> > wrote:
>
>> yeah - was thinking that might be a way to do it... would be nice to
>> see if this could be spun up into something useful. feel free to fork
>> my c/c++ code (it was written a long time ago and probably lots wrong
>> with it) and have a play...
>>
>> On Jan 24, 9:18 pm, Liam <[email protected]> wrote:
>> > On Jan 24, 12:21 pm, billywhizz <[email protected]> wrote:
>> >
>> > > i dug out some old c/c++ code i was hacking on with IBM Websphere MQ
>> > > client 6 and have put it up on github if you want to have a dig
>> > > around:
>> >
>> > >https://github.com/billywhizz/mqsimple
>> >
>> > > if you linked this lib into a node.js addon and wrapped it up in a
>> > > thread pool you might be able to get what you need working.
>> >
>> > libeio eio_custom?
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "nodejs" group.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/nodejs?hl=en.
>>
>>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to