[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:59:29 EDT 2006
Johan:
Hey Esteban,
That is exactly what I?m doing right now. The parameterReloadSecs attribute is set to 9999. So I can develop/test my listener.
I was wondering why new instances are created every time the config reloads. Can?t we just discover wether the configuration for a certain listener has realy changed. If not, just don?t do anything.If so, call a stop() method on the listener. My stop() method will stop the processing of the JBoss Remoting Http invoker.
Another question I have is can?t we use a thread pool to execute the action pipeline? Spawning new threads is not really needed here I think. Just grapping one of the pool is goed enough I think.
What do you think?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975458#3975458
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975458
More information about the jboss-dev-forums
mailing list