PTP messaging -

32 views
Skip to first unread message

Jason Pell

unread,
Oct 24, 2012, 3:53:26 AM10/24/12
to jetla...@googlegroups.com
Hi,

Does jetlang support delivery of a message to a single multi-threaded consumer? 

What I want is to have only one consumer receive a message - basically like PTP JMS?

If I subscribe one consumer and post multiple messages and a message takes a longer time to process, then the messages will not be processed until the long running consumer process is finished.

What I really want is to have multiple consumers registered but have only one of these consumers receive the message?  if a a consumer is currently processing a message I want a different consumer to pick this message off the queue.

Either multiple instances of a fiber, or the same fiber multi threaded.

Anything like this?

Jason Pell

unread,
Oct 24, 2012, 4:07:39 AM10/24/12
to jetla...@googlegroups.com
Now I think about it, I am kind of assuming from within my single subscriber I need to offload work to a separate thread that is executed once.

Would still be good to be able to do something similiar to PTP JMS though without the ridiculous overheads of jms.
Reply all
Reply to author
Forward
0 new messages