We just got our first build mostly running with camel, and after deployment
we see the following errors. Are we using the wrong connection factory
or....what?
Config:
<bean id="jmsConnectionFactory" class="
org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://localhost:61616"/>
</bean>
Exception:
18:36:53.750-ActiveMQ Scheduler][ActiveMQConnection][WARN ] - Async
exception with no exception listener:
org.apache.activemq.transport.InactivityIOException: Channel was inactive
for too long.
org.apache.activemq.transport.InactivityIOException: Channel was inactive
for too long.
at org.apache.activemq.transport.InactivityMonitor.readCheck(
InactivityMonitor.java:101)
at org.apache.activemq.transport.InactivityMonitor.access$000(
InactivityMonitor.java:35)
at org.apache.activemq.transport.InactivityMonitor$1.run(
InactivityMonitor.java:51)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:431)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset
(FutureTask.java:198)
at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic
(ScheduledThreadPoolExecutor.java:189)
at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
(ScheduledThreadPoolExecutor.java:213)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:619)
[18:36:53.802-DefaultMessageListenerContainer-180][DefaultMessageListenerContainer][ERROR]
- Setup of JMS message listener invoker failed - trying to recover
javax.jms.IllegalStateException: The Consumer is closed
at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(
ActiveMQMessageConsumer.java:610)
at org.apache.activemq.ActiveMQMessageConsumer.receive(
ActiveMQMessageConsumer.java:466)
at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage
(AbstractPollingMessageListenerContainer.java:387)
at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute
(AbstractPollingMessageListenerContainer.java:301)
at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute
(AbstractPollingMessageListenerContainer.java:235)
at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener
(DefaultMessageListenerContainer.java:887)
at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
(DefaultMessageListenerContainer.java:822)
at java.lang.Thread.run(Thread.java:619)
Any ideas?