Rejecting received message because of the listener container having been stopped in the meantime

Solution In Progress - Updated -

Issue

I notice this warning everytime I lose a message

2014-09-08 17:08:44 | INFO | Camel (2809-camel-97) thread #298 - OnCompletion | INFO-CNCEXTRACT-STOPCNCROUTE | 150 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Stopping the picking of messages from CNC-Extract
2014-09-08 17:08:44 | INFO | Camel (2809-camel-97) thread #298 - OnCompletion | org.apache.camel.impl.DefaultShutdownStrategy | 150 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Starting to graceful shutdown 1 routes (timeout 300 seconds)
2014-09-08 17:08:44 | INFO | Camel (2809-camel-97) thread #287 - ShutdownTask | org.apache.camel.impl.DefaultShutdownStrategy | 150 - org.apache.camel.camel-core - 2.10.0.fuse-71-047 | Route: cncExtractAggregate suspend complete, was consuming from: Endpoint[activemq://queue:cnc-orders-extract-queue]
2014-09-08 17:08:44 | WARN | Camel (2809-camel-97) thread #283 - JmsConsumer[cnc-orders-extract-queue] | org.apache.camel.component.jms.DefaultJmsMessageListenerContainer | 156 - org.springframework.jms - 3.0.7.RELEASE | Rejecting received message because of the listener container having been stopped in the meantime: ActiveMQTextMessage {commandId = 5861, responseRequired = false, messageId = ID:tldesbqat01vth-40868-1410146652928-1:2:1:1:5857, originalDestination = null, originalTransactionId = null, producerId = ID:tldesbqat01vth-40868-1410146652928-1:2:1:1, destination = queue://cnc-orders-extract-queue, transactionId = null, expiration = 0, timestamp = 1410160064832, arrival = 0, brokerInTime = 1410160064885, brokerOutTime = 1410160087149, correlationId = , replyTo = null, persistent = false, type = , priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = org.apache.activemq.util.ByteSequence@6e33c92c, dataStructure = null, redeliveryCounter = 0, size = 0, properties = {JMSXMessageCounter=56}, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = <?xml version="1.0" encoding="UTF-8" standalo...tus></order>}

I think it means that it is rejecting the message when the route is being suspended....
This then does not allow any more messages to be processed by this feature even if all the messages in all the queues are cleared.
The only option in this case is to restart the feature.
How can we get over this problem??
We use the default configurations for the activemq broker.

Environment

  • Fuse ESB 7.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.