Posting downstream messages asynchronously

rpt rpotluri at yahoo.com
Fri Jul 9 09:45:53 EDT 2010


Hi all,

I'm writing a server using netty that keeps long-lived connections(nio) from
its clients and sends some of those requests to backend system over JMS.
When it receives responses back over JMS, it needs to send them back to the
correct clients.

My question is regarding sending those downstream responses back to the
clients. When the server gets a response over JMS, how does it get a
reference to the correct client's channel reference? I'm thinking of storing
them all in a ChannelGroup and use the find method (I'll be keeping a lookup
table for client account number (in JMS message) to channel names)

Is there a recommended way to do this?

Thanks in advance.

Ravi.
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Posting-downstream-messages-asynchronously-tp5274345p5274345.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list