camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] Commented: (CAMEL-2128) Rollback does not work for transactional routes using camel-cxf
Date Tue, 03 Nov 2009 12:39:52 GMT


Christian Schneider commented on CAMEL-2128:

I have built a camel-cxf module that includes the patch. Now the rollback
basically works.
The problem is that it happens for all exceptions. I think a good default
would be to return a fault for all exceptions that the service explicitly
defines and roll back for all other exceptions. The problem is I have no
idea how this could be done.

In the meantime I will try to use an onException() clause to do this

> Rollback does not work for transactional routes using camel-cxf
> ---------------------------------------------------------------
>                 Key: CAMEL-2128
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.0.0
>            Reporter: Christian Schneider
>         Attachments: appcontext.xml, patch.txt
> I have a request reply service that should be able to do three different
> things:
> 1)  no exception occurs in the implementation: The jms Message should be
> committed and the normal reply should be sent
> 2) The implementation throws an exception defined in the service contract:
> The jms message should be committed and a fault should be sent
> 3) The implemementation throws another kind of exception: The message delivery should
> be rolled back so it can be received again
> Case 1 and 2 currently work as expected.
> For Case 3 a fault is returned to the caller and the transaction is committed which is

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message