Atomikos Forum

ActiveMQ purge message still referenced in JMS Listener

Hello
We are using Atomikos for XA transaction with Spring DMLC and ActiveMQ. Everything is working fine except for the following.We have queues with redeliver policy of 5 min. If i delete/remove/purge the message from activeMQ queue, the message is still processed by the spring DMLC message Listener.
<bean id="irQueue"
        class="org.springframework.jms.listener.DefaultMessageListenerContainer">
        <property name="connectionFactory" ref="amqJmsQueueConnectionFactory" />
        <property name="destination" ref="destinationRDMIRQ" />
        <property name="messageListener" ref="rdmRPOQueueConsumer" />
        <property name="transactionManager" ref="transactionManager" />
        <property name="sessionTransacted" value="true" />
        <property name="concurrentConsumers" value="1" />
        <!--  This value needs to be smaller than the transaction timeout used by the transaction manager (in the appropriate unit, of course).
        -1 indicates no timeout at all; however, this is only feasible if not running within a transaction manager.  -->
        <property name="receiveTimeout" value="240000" />
    </bean>

Is there any way to fix this issue.
Rajpal Marpu Send private email
Thursday, September 24, 2015
 
 
How are you deleting the message?
Guy Pardon Send private email
Wednesday, October 07, 2015
 
 
Using ActiveMQ web console i am purging the messages.
it is immediately moving the messages to dequeue status but the DMLC is still replaying the purged messages. No clue why it is doing. It is cleaning up only after the restart of activemq and tomcat.
Rajpal Marpu Send private email
Tuesday, October 27, 2015
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics