CamelCookbook / camel-cookbook-examples

Example source code for Apache Camel Developer's Cookbook
http://www.packtpub.com/apache-camel-developers-cookbook/book
Apache License 2.0
262 stars 188 forks source link

Order of operations issue with Product tests #74

Open scranton opened 7 years ago

scranton commented 7 years ago

org.camelcookbook.extent.product.ProdutcSpringTest and ProxyProduceSpringTest at Test shutdown thrown an exception that looks like there is a Message Listener still running while ActiveMQ broker is shutdown. Does not impact test results.

[aryQueueReplyManager[sayhello]] TemporaryQueueReplyManager WARN Exception inside the DMLC for Temporary ReplyTo Queue for destination sayhello, refreshing ReplyTo destination javax.jms.IllegalStateException: The Session is closed at org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:771) ~[activemq-client-5.14.3.jar:5.14.3] at org.apache.activemq.ActiveMQSession.getTransacted(ActiveMQSession.java:540) ~[activemq-client-5.14.3.jar:5.14.3] at org.apache.activemq.jms.pool.PooledSession.getTransacted(PooledSession.java:260) ~[activemq-jms-pool-5.14.3.jar:5.14.3] at org.springframework.jms.listener.AbstractMessageListenerContainer.commitIfNecessary(AbstractMessageListenerContainer.java:757) ~[spring-jms-4.3.7.RELEASE.jar:4.3.7.RELEASE] at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:349) ~[spring-jms-4.3.7.RELEASE.jar:4.3.7.RELEASE] at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:255) ~[spring-jms-4.3.7.RELEASE.jar:4.3.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1166) ~[spring-jms-4.3.7.RELEASE.jar:4.3.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1158) ~[spring-jms-4.3.7.RELEASE.jar:4.3.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1055) [spring-jms-4.3.7.RELEASE.jar:4.3.7.RELEASE] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]