Re: restart stopped route automatically due to exception

2019-11-13 Thread Bing Lu
should i use cachingconnectionfactory instead of just mqconnectionfactory in sjms component? i am using 2.23.1   exception below Exception caught closing session: JMSCMQ0002: The method 'MQBACK' failed.. This exception is ignored.

Re: restart stopped route automatically due to exception

2019-11-13 Thread Claus Ibsen
Hi What Camel version are you using? And can you maybe show some code snippet of that route that was stopped. And maybe something from the logs that points to how it was stopped. Also if you are using JMS then have you setup your connection pool with re-connection logic et all. On Wed, Nov 13,

restart stopped route automatically due to exception

2019-11-13 Thread Bing Lu
hi, is there a way to automatically restart a route that got stopped due to some exception caused by server patching, queue unavailable for a short period of time? I am using sjmsbatch and one of the route is stopped and never restarted during the maintenance window because it caught an