cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <>
Subject [jira] Commented: (CXF-61) Refactor for better transaction support
Date Tue, 26 Sep 2006 05:12:51 GMT
    [ ] 
willem Jiang commented on CXF-61:

Here are some points on the JMS Transport stuff:

Currently JMS Session pool in Artix uses different Message Receiver
acknowledgement mechanism than  Celtix to provide Transaction support.
for server side. 

AUTO_ACKNOWLEDGMENT just make sure JMS broker client
received the message, but not sure about the client  had  processed the message.
If we want to support the Transaction in CXF, I think we need to change to
CLIENT_ACKNOWLEDGE to make sure the message had been processed in
message level. 

Second part of the transaction support is in current JMSServerTransport
postDispatch code. This is the place where the server make sure that the
message received can be processed and it is safe to send the
Acknowledgement to JMS broker to remove the message from topic/queue and

In current  CXF JMS Transport implementation the transport just provide an channel
to send and receive messages. All the message handling stuff need to play with the
Stream. I think it is a good place in the OutputStream close method to send
acknowledgment to JMS broker.
So if we want to support local transaction in CXF JMS, we just need change the Session
acknowledgment and the OutputStream close method.

> Refactor for better transaction support
> ---------------------------------------
>                 Key: CXF-61
>                 URL:
>             Project: CeltiXfire
>          Issue Type: Sub-task
>          Components: Transports
>            Reporter: willem Jiang

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message