On 3 Maj, Saint-Martin Cécile wrote:
> Hello,
>
> I'm testing MDB with Jboss, i wrote a MDB wich destination is a durable
> topic. When i stop ContainerFactoy service, Jboss clear all instances of the
> MDB and it's OK.
> But when i restart this service, it doesn't re-create the pool of MDB
> instances. Is it a bug?
>
Hi, It is possible that this could be considered a bug, since the stop()
method tears down everything, but the start method does not build it up
again.
However: after checking the code I found the following: there is no way
to ever invoke start() manually on a container.
The ContainerFactory implements the stopService method, so any stop()
code is run, but it does not implement the startService() method. This
means that doing a manual invoke of the ContainerFactory stop() method
will result in all Containers beeing stoped - but running start() will
NOT start them again.
If this is a bug in ContainerFactory I don't know.
I will not change the behaviour in JMSContainerInvoker until it really
matters (since even if i change it, the stop method will stop the
connection, and the start() of the connection will never be run).
//Peter
>
> Cécile Saint-Martin
> [EMAIL PROTECTED]
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
--
------------------------------------------------------------
Peter Antman Technology in Media, Box 34105 100 26 Stockholm
Systems Architect WWW: http://www.tim.se
Email: [EMAIL PROTECTED] WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942
------------------------------------------------------------
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development