tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kn├╝mann>
Subject What is the lifecycle of the apache tribes channel?
Date Fri, 15 Oct 2010 15:45:57 GMT

I'm using apache tribes for messaging between nodes within a cluster. My 
implementation bases on the quickstart example that is part of the 
related documentation.
At the moment there is Context Listener that starts the communication 
like this:

   myChannel = new GroupChannel();

     this.msgListener = msgListener;
     this.mbrListener = mbrListener;

     //attach the listeners to the channel

     //start the channel

This is a singleton instance and is used for sending messages the whole 
lifecycle of my webapplication.
I don't like this singleton and I'm wondering if it is possible to start 
the channel everytime I need to send a message?

with kind regards

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message