Atomikos Forum |
|
We have the 2phase commit setup as below in my project.
<property name="connectionFactory" ref="..." /> <property name="destination" ref="..." /> <property name="messageListener" ref="..." /> <property name="concurrentConsumers" value="1" /> <property name="maxConcurrentConsumers" value="${...}" /> <property name="transactionManager" ref="txManager" /> <property name="sessionTransacted" value="true"/> <property name="sessionAcknowledgeMode" value="0"/> JTA Transaction timeout is set for 50 minutes. We receive the message and the application process is taking more than 50 minutes and thus throwing the below Timeout Error: [Atomikos:5] ActiveStateHandler:12 - Rollback of timedout ACTIVE coordinator ! Then the incoming message is again replayed once the processing is complete. This replaying is keep on repeating as the process is crossing the JTA Timeout threshold set as 50 mints. We need to commit the incoming message even when there is a timout error happens. So that the incoming message will not get replayed. Please put me into right track on this issue. Thanks. |