« Return to Thread: Mule shudown with jms and xa
Hi Andrew,
I did like you said to plug my transaction
manager with Mule’s lifecycle.
The problem is that atomikos shutdown hook
cannot be disabled so it works with a ‘badly’ hack of atomikos removing
this shutdown hook.
I informed atomikos about this and they have
filled a feature request for 3.3 release J.
See http://www.atomikos-support.com/forums/viewtopic.php?p=2369
Theotime
De : Andrew
Perepelytsya [mailto:aperepel@...]
Envoyé : jeudi 4 octobre 2007
14:48
À : user@...
Objet : Re: [mule-user] Mule
shudown with jms and xa
Instead of a shutdown
hook I would recommend using Mule's lifecycle, as at least there's a better
control of the shutdown order (nothing is guaranteed for runtime JVM hooks).
I think this topic emerged before, so I filed a http://mule.mulesource.org/jira/browse/MULE-2479
, you can put a watch on it. Note, however, I'm reluctant to change the API in
1.4.x for backwards compatibility, so for now it'll be in 2.x.
For the time being you can achieve the same by registering a proper listener on
the MuleManager, e.g. on 'models stopped' events.
Andrew
On 10/4/07, JURZAK
Theotime <theotime.jurzak@...>
wrote:
Hi Andrew,
Thanks to reply.
The problem is my transaction monitor (atomikos) is already
shutdown. It has a shutdown hook and checking logs, i see that when rollback is
called, it's stopped.
I let you know if i find something.
Theotime
De : Andrew Perepelytsya [mailto:aperepel@...]
Envoyé : mercredi 3 octobre
2007 17:56
À : user@...
Objet : Re: [mule-user] Mule
shudown with jms and xa
XA
transacted receiver polls queue for new messages in transaction. When you
shutdown the server those polling threads give you the message.
Andrew
« Return to Thread: Mule shudown with jms and xa
| Free embeddable forum powered by Nabble | Forum Help |