[jbossts-issues] [JBoss JIRA] (JBTM-2741) Losing message during inflow transaction processing

Ondra Chaloupka (JIRA) issues at jboss.org
Wed Aug 24 08:21:01 EDT 2016


Ondra Chaloupka created JBTM-2741:
-------------------------------------

             Summary: Losing message during inflow transaction processing
                 Key: JBTM-2741
                 URL: https://issues.jboss.org/browse/JBTM-2741
             Project: JBoss Transaction Manager
          Issue Type: Bug
            Reporter: Ondra Chaloupka


I experience losing messages when they are received with the same xid when messages are received in parallel. This means case that prior message is not yet fully processed when meanwhile new message is promoted for being processed.

This is the scenario which behaves wrong by my view

* EIS passes a message with xid1 to RAR to be processed
* first message is passed as work to be process (stays in progress)
* EIS passes a second message with xid1 to RAR to be processed
* the second message is forgotten. It will never reach a {{MessageListner}}
** no error is returned or shown in log

Compared following scenario passes without a problem.
* EIS passes a message with xid1 to RAR to be processed
* first message is fully processed with {{MessageListner}} (it reaches the end of the _onMessage_ method)
* EIS passes a second message with xid1 to RAR to be processed
* second message is processed by {{MessageListener}}


By reading jca spec and description of JBTM-2164 I do understand that several messages could be passed with the same xid in parrarel. If my interpretation or scenario setup is wrong, please, let me know.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list