aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Can a JMS Listener stay connected to a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Can a JMS Listener stay connected to a "Recreated" topic" Watch "Can a JMS Listener stay connected to a "Recreated" topic" New topic
Author

Can a JMS Listener stay connected to a "Recreated" topic

David Rocks
Ranch Hand

Joined: Apr 24, 2001
Posts: 162
We are using an application that creates a few JMS Topics when it is started. These topics are there so that various remote applications can create a Listener for a particular topic and listen to updates from the main app. The JMS implementation uses publish subscribe.
The problem is that if the main app has to be restarted the others all have to be restarted so as to bind the listener to the new topic. The topics have the same name and are always on the same box. Is there anyway that the listeners do not have to restart so that they can just dynamically link to the topic and not bother if if it is the same one they conected to when instanciated.
it was simpler when we used corba but hey i just write the program.
cheers in advance
david
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can a JMS Listener stay connected to a "Recreated" topic