Hi Gordon,

Thanks a lot

Best Regards,
Sergey


-----Original Message-----
From: Gordon Sim [mailto:[email protected]] 
Sent: Thursday, July 26, 2012 5:59 PM
To: [email protected]
Subject: Re: Message Listeners/Subscribers with messaging API

On 07/26/2012 12:37 PM, Zhemzhitsky Sergey wrote:
> Is there any simple way to use something like message 
> listeners/subscribers with qpid messaging API except for using custom 
> threads which will continuously invoke Receiver.fetch(Message, 
> Duration)?

No, you need to do any dispatching to listeners on your own threads. You can 
use Session::nextReceiver() to avoid needing a thread per Receiver, but as yet 
there is no way to avoid a thread per session.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]


_______________________________________________________

The information contained in this message may be privileged and conf idential 
and protected from disclosure. If you are not the original intended recipient, 
you are hereby notified that any review, retransmission, dissemination, or 
other use of, or taking of any action in reliance upon, this information is 
prohibited. If you have received this communication in error, please notify the 
sender immediately by replying to this message and delete it from your 
computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or 
go to www.troika.ru/eng/Contacts/system.wbp  



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to