Nick Smith created CAMEL-17105:
----------------------------------

             Summary: Transactions - Ignored property 
Exchange.markRollbackOnlyLast
                 Key: CAMEL-17105
                 URL: https://issues.apache.org/jira/browse/CAMEL-17105
             Project: Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 3.x
            Reporter: Nick Smith


In Camel 3.x Exchange was refactored and markRollbackOnly was changed 

[2.x|[https://github.com/apache/camel/blob/05a6bd786fc8beeae30f6e10197cb59650892a67/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java#L474]]

[3.x|[https://github.com/apache/camel/blob/ea065afc6d638ab72c4efdd67591cb9ca4c08d0d/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java#L689-L691]]



Now in TransactionErrorHandler.doInTransactionTemplate() doesn't throw 
TransactionRollbackException, cause isRollbackOnly false.
[https://github.com/apache/camel/blob/ea065afc6d638ab72c4efdd67591cb9ca4c08d0d/components/camel-spring/src/main/java/org/apache/camel/spring/spi/TransactionErrorHandler.java#L210]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to