[ 
https://issues.apache.org/jira/browse/CAMEL-4512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120756#comment-13120756
 ] 

Benoit Bordonne commented on CAMEL-4512:
----------------------------------------

Sorry I wrote the wrong version number (the problem happens in 2.6 and not in 
2.5), so for clarity:

I used the same code in in Camel 2.6 and in Camel 2.8.
Result:
Camel 2.6: 
after shutdown, the message "reappear" in the queue. (when I check the queue 
from an external client before shutdown, the messages are not in the queue any 
more, what is the expected behaviour - meaning the transaction was really 
commited - after shutdown the messages are back in the queue)

Camel 2.8: it works, the messages are consumed and the result is written in DB.
Even after shutdown, no message is left on the queue, what is the expected 
result.


So to answer your question shortly:
I have the problem in Camel 2.6, and the same code works fine in Camel 2.8





                
> Issue by shutdown for XA connection between MQ Series and Oracle (Bitronix 
> transaction manager)
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4512
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4512
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.5.0
>         Environment: Camel 2.5 on Windows XP
> MQSeries 5.3 (Unix)
> Oracle 11 (Unix)
> Bitronix Transaction manager
>            Reporter: Benoit Bordonne
>
> Using the Bitronics transaction manager to create an XA connection between 
> MQSeries 5.3 and Oracle 11 to manage follwowing actions within one 
> transaction:
> - dequeue a message from a MqSeries queue
> - Write the content in the DB
> This works fine (message is dequeued and written in the DB), from an external 
> client it is possible to check that the message does not exist in the queue 
> anymore. 
> When the Camel context is shutdown, the messages appear again in the queue.
> Using the same code in Camel 2.8, it is working fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to