Possible to prevent Camel routes shutdown during spring refresh event -


i have been trying integrate spring cloud ribbon client camel routes no luck. apparently ribbon client performs application context refresh during camel context restarted. reference: https://github.com/spring-cloud/spring-cloud-netflix/issues/438#issuecomment-121282986

i'm looking way prevent camel tearing down during these refreshes, or other solution prevents such painful pause. possible?

you can try configure camelcontext not shutdown eager, setting shutdowneager=false on springcamelcontext.

however depends on events spring emits, can set deubg logging on org.apache.camel.spring.springcamelcontext , see events emitted. shutdown eager false not stop camel on contextclosedevent maybe need.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -