activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pep <pep_cod...@yahoo.es>
Subject Error after a message reaches the maximum redeliveries
Date Tue, 13 Jun 2006 10:56:30 GMT

Hello,

we have ActiveMQ 4.0 integrated into OC4J by means of the JCA 1.5 resource
adapter. It works as an embedded jms provider. We have set the maximum
number of redeliveries to 5. 

When sending a message that will be failed to be delivered, one the maximum
redeliveries is reached we get the following exception. After this exception
ActiveMQ does not process any message until OC4J (and so ActiveMQ broker) is
restarted.

2006-06-13 12:51:08,184 INFO 
[org.apache.activemq.broker.AbstractConnection.Ser
vice] Async error occurred: javax.jms.JMSException: Could not correlate
acknowle
dgment with dispatched message: MessageAck {commandId = 33, responseRequired
= f
alse, ackType = 1, consumerId = ID:nte70-2483-1150195823043-3:4:-1:2,
firstMessa
geId = ID:nte70-2333-1150195144715-3:9:1:1:1, lastMessageId =
ID:nte70-2333-1150
195144715-3:9:1:1:1, destination = queue://QUEUE.HOMETAO, transactionId =
null,
messageCount = 1}
javax.jms.JMSException: Could not correlate acknowledgment with dispatched
messa
ge: MessageAck {commandId = 33, responseRequired = false, ackType = 1,
consumerI
d = ID:nte70-2483-1150195823043-3:4:-1:2, firstMessageId =
ID:nte70-2333-1150195
144715-3:9:1:1:1, lastMessageId = ID:nte70-2333-1150195144715-3:9:1:1:1,
destina
tion = queue://QUEUE.HOMETAO, transactionId = null, messageCount = 1}
        at
org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(Pr
efetchSubscription.java:175)
        at
org.apache.activemq.broker.region.AbstractRegion.acknowledge(Abstract
Region.java:233)
        at
org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBrok
er.java:362)
        at
org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionB
roker.java:176)
        at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java
:65)
        at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java
:65)
        at
org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBro
kerFilter.java:78)
        at
org.apache.activemq.broker.AbstractConnection.processMessageAck(Abstr
actConnection.java:356)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:178)
        at
org.apache.activemq.broker.AbstractConnection.service(AbstractConnect
ion.java:201)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportC
onnection.java:62)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCo
rrelator.java:97)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilt
er.java:63)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForm
atNegotiator.java:114)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityM
onitor.java:122)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSup
port.java:87)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
143)
        at java.lang.Thread.run(Thread.java:534)
 

Does anyone knows where this could come from?
Thanks!

Pep.
--
View this message in context: http://www.nabble.com/Error-after-a-message-reaches-the-maximum-redeliveries-t1779579.html#a4844677
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message