GitHub user RasPelikan opened a pull request:
https://github.com/apache/camel/pull/1390
CAMEL-10685: Added camel-cdi-jee component
The "transacted" configuration requires a Spring environment. We use JavaEE
and we needed to use "transacted". We ported the Spring implementation of the
TransactionErrorHandler to JavaEE.
There is only one major difference: Spring's TransactionErrorHandler
derives from org.apache.camel.processor.RedeliveryErrorHandler which brings the
behavior that redelivery is done within the transaction. In our implementation
there is a RedeliveryErrorHandler which uses the TransactionErrorHandler to
force a rollback and create a new transaction for each redelivery.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/RasPelikan/camel CAMEL-10685_JavaEE-transacted
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1390.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1390
----
commit 36c0fd1b3a82ca893da5d727a37466dc5214eef5
Author: Stephan Pelikan <[email protected]>
Date: 2017-01-10T12:59:19Z
Added camel-cdi-jee component
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---