Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
719 views
in Technique[技术] by (71.8m points)

timeout - Apache camel stop long running context

We are using Camel 2.x with Java DSL.

Under camel context we have added multiple routes. Sometimes few of the routes might hang or take more time to complete due to various reasons which we cannot control.

To handle this, we would like to stop the entire camel context if it takes more than 60 minutes to complete.

Is there a way to implement this in Camel ?A


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...