Jeff - I think it's best for your class to have no knowledge of what a "jms
session" is.
Instead, you can add a new attribute on Packet - executorID which just takes an int value
(say).
This value is used in the MINA handler to look up the "thread" (or executor or
however it is done) for processing the packet after receipt.
To your class it's just an id - it knows nothing about jms session ids.
Before sending a packet you just set this value at our level. You make sure you set the
same value for all requests on the same core session, and if the requests are on a
connection or other object you can use its id.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140642#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...