I'm not sure to understand your suggestion.
How do I create a ServerSession? Using MessagingServerIml.createSession() does not return
the created session but a CreateSessionResponseMessage (and I need to find the correct
RemotingConnection required to create the session).
I need to get the ServerSession instance, wrap the client message in a SessionSendMessage
packet, and pass the packet to the serverSession so that the message is correctly
replicated.
Am I missing something more obvious?
The advantage of the current code is that I can treat sending the management messages like
a simple client (as long as I can rely on having a InVM acceptor which is not a big deal
imho).
I will fix the code to not create a new session for every invocation though.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211005#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...