有没有办法捕捉超时并将其发送回用户?不确定 Apache Camel 是否提供了开箱即用的功能。
我想测试并提醒用户哪些队列已启动并正在运行。这样用户就可以清楚地知道应用程序的哪些功能可以工作。
我在我的项目中Spring
都使用了。Apache Camel
问问题
800 次
1 回答
1
啊! 我发现。Camel 有一个开箱即用的解决方案。
Camel 2.1: Specifies whether to test the connection on startup. This ensures that when Camel starts that all the JMS consumers have a valid connection to the JMS broker. If a connection cannot be granted then Camel throws an exception on startup. This ensures that Camel is not started with failed connections. From Camel 2.8 onwards also the JMS producers is tested as well.
于 2013-04-22T18:18:30.743 回答