]
Ron Sigal updated JBREM-743:
----------------------------
Fix Version/s: 2.2.2.GA
Affects Version/s: 2.2.0.SP4
2.2.1.GA
Changes ported for Remoting 2.2.2.GA.
For polling callback handler, org.jboss.remoting.Client.addListener()
should create only one CallbackPoller per InvokerCallbackHandler
--------------------------------------------------------------------------------------------------------------------------------------
Key: JBREM-743
URL:
http://jira.jboss.com/jira/browse/JBREM-743
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.0.SP4, 2.2.1.GA
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto), 2.2.2.GA
If a given InvokerCallbackHandler is passed to Client.addListener() multiple times, a new
CallbackPoller will be created each time, although only the first one leads to the
registration of a new ServerInvokerCallbackHandler with ServerInvoker on the server side.
The semantics, according to Chapter 5 of the Remoting guide, should be
If there is no callback Connector, which is the case for pull callbacks and simulated
push callbacks (see Section Registering callback handlers), then the callback connection
is identified by the combination of the Client on which addListener() was invoked and the
InvokerCallbackHandler. It follows that if an InvokerCallbackHandler is registered twice
with the same Client for pull or simulated push callbacks, only a single callback
connection is created. That is, the second call has no effect.
So only one CallbackPoller should be created per (Client, InvokerCallbackHandler) pair.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: