[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Incorporating Remoting http transport into Messaging

ron_sigal do-not-reply at jboss.com
Thu Sep 21 15:32:34 EDT 2006


anonymous wrote : I don't remember off hand how that is done in Messaging.

The lines


  |       callbackServer = CallbackServerFactory.instance.getCallbackServer(serverLocator);
  |       client.addListener(dummyCallbackHandler, callbackServer.getLocator());
  | 

in JMSRemotingConnection create callbackServer as a server and then tell the server side to call it to do push callbacks.  If you were just to call 


  |       client.addListener(dummyCallbackHandler);
  | 

omitting the creation of callbackServer, you would be configuring for pull callbacks, with no server on the client side.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973395#3973395

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973395



More information about the jboss-dev-forums mailing list