Is it possible to customize shutting down of mule such that it stops the jms inbound first than other services. The problem is when the mule is shutting down it pickups the message from jms queue for processing which fails in later stages because the other services have been shut down by mule. The mule shuts down the services/connectors in random order. Is there a way to customise mule to stop listening to inbound queue then stop other services ?
0
votes
2 Answers
1
votes
I would try with a shutdown context notification, if you do a blocking one stopping your inbound endpoints and assuming your don't reenter in your flow, you should get your behaviour.