[jboss-dev-forums] [Design of JBoss ESB] - Re: GpListener reload config - new instance of listeners?
mark.little@jboss.com
do-not-reply at jboss.com
Mon Oct 2 06:58:22 EDT 2006
Johan Kumps:
I currently working on an http listener implementation for the esb making use of the JBoss Remoting library.
In the config the parameterReloadSecs=60. So every minute the configuration file is reloaded. It seems that on this moment the the GPListener class (method run()) is creating a new instance of the listeners. Why? I'm having a problem with this because my http listener is listening on a certain port. When the config gets reloaded, a new instance of my listener is created and tries to listen to the same port as the one started earlier.
Is this intended behavior of the GPListener class or can this be a bug?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975455#3975455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975455
More information about the jboss-dev-forums
mailing list