Atomikos Forum |
|
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. |