Scenario is:
--------------
Start 2 Layers.
Layer A - create a producer on queue. Send msgs in a
loop.
Layer B - create a transacted session and create a
consumer listener on it.
While receiving msgs and rollback the session in the
middle of receiving the
msgs.
Get the bellow exception:
java.util.ConcurrentModificationException
at
java.util.LinkedHashMap$LinkedHashIterator.nextEntry
(Unknown Source)
at java.util.LinkedHashMap$KeyIterator.next
(Unknown Source)
at java.util.AbstractCollection.toArray(Unknown
Source)
at java.util.ArrayList.addAll(Unknown Source)
at org.mr.api.jms.MantaSession.rollback
(MantaSession.java:374)
at tester.logic.JMSTestLogicSession11.handle
(JMSTestLogicSession11.java:
972)
at org.mr.api.blocks.ScalableStage.handle
(ScalableStage.java:171)
at org.mr.core.util.AbstractStage.sendToHandler
(AbstractStage.java:80)
at org.mr.core.util.StageExecutionThread.run
(StageExecutionThread.java:6
3)