Spring 检查jms队列是否已启动

Spring 检查jms队列是否已启动,spring,jms,apache-camel,Spring,Jms,Apache Camel,是否有办法捕获超时并将其发送回用户? 不确定Apache Camel是否提供了一些现成的东西。 我想测试并提醒用户哪些队列已启动并正在运行。这样用户就可以清楚地知道应用程序的哪些功能可以正常工作。 我在我的项目中同时使用了Spring和apachecamel。啊!我发现了。Camel有现成的解决方案 Camel 2.1: Specifies whether to test the connection on startup. This ensures that when Camel starts

是否有办法捕获超时并将其发送回用户? 不确定Apache Camel是否提供了一些现成的东西。
我想测试并提醒用户哪些队列已启动并正在运行。这样用户就可以清楚地知道应用程序的哪些功能可以正常工作。

我在我的项目中同时使用了
Spring
apachecamel

啊!我发现了。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.