-
Nov 7th, 2010, 12:54 PM
#1
Question regarding JmsMessageDrivenEndpoint
In a running standalone app, when we stop the JmsMessageDrivenEndpoint, what happens to all the live threads that are active in the app and are processing several messages in respective transactions?
I am running this endpoint with session="transacted" mode.
Will the running threads commit or rollback be handled appropriately, even though the JmsMessageDrivenEndpoint is stopped?
Note: Before shutting the app down, i am executing stop on JmsMessageDrivenEndpoint and then waiting for few secs to write some data about messages processed to the log.
I also registered the shutdown hook.
Thanks
sri
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules