Announcement Announcement Module
Collapse
No announcement yet.
Question regarding JmsMessageDrivenEndpoint Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X