Author: ron.sigal(a)jboss.com
Date: 2009-05-04 21:54:59 -0400 (Mon, 04 May 2009)
New Revision: 5129
Modified:
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/callback/ServerInvokerCallbackHandler.java
Log:
JBREM-1112 (and others to be named): Calls callbackClient.setSessionId() once instead of
each time handleCallback() is called.
Modified:
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/callback/ServerInvokerCallbackHandler.java
===================================================================
---
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/callback/ServerInvokerCallbackHandler.java 2009-05-05
01:52:00 UTC (rev 5128)
+++
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/callback/ServerInvokerCallbackHandler.java 2009-05-05
01:54:59 UTC (rev 5129)
@@ -217,6 +217,7 @@
metadata.put(SERVER_INVOKER_CALLBACK_HANDLER, this);
callBackClient = new Client(invocation.getLocator(), invocation.getSubsystem(),
metadata);
+ callBackClient.setSessionId(sessionId);
createCallbackErrorHandler(owner, invocation.getSubsystem());
}
else
@@ -818,7 +819,7 @@
InternalInvocation internalInvocation =
new InternalInvocation(InternalInvocation.HANDLECALLBACK, new
Object[]{callback});
- callBackClient.setSessionId(sessionId);
+// callBackClient.setSessionId(sessionId);
if (asynch)
{
Show replies by date