Ah, the dangers of reflection.
In the course of working on JBREM-727 ("Make Client's implicitly created
Connectors accessible") I changed the field Client.callbackConnectors to map from an
InvokerCallbackHandler to the *set* of all the Connectors with which it is registered.
Since Messaging's JMSRemotingConnection always creates a new InvokerCallbackHandler
(CallbackManager, in particular) for each connection, callbackConnectors should map each
CallbackManager to a singleton set. I.e.,
| Connector connector = (Connector)callbackConnectors.get(callbackHandler);
|
should be
| Connector connector =
(Connector)callbackConnectors.get(callbackHandler).iterator().next();
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030428#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...