Hi,

The following camel route

        <camel:route>
            <camel:from ref="directRequestEndpoint"/>
                <camel:transacted ref="PROPAGATION_REQUIRED"/>
                <camel:doTry>
                    <!-- Call the requestService to save the request -->
                    <camel:bean ref="serviceHelper" method="createRequest"/>
                    <camel:bean ref="serviceHelper" method="generateError"
/>
                    <camel:to ref="queueRequestEndpoint" />
                    <camel:doCatch>

<camel:exception>com.xpectis.x3s.exception.X3SException</camel:exception>
*                        <camel:rollback/>*
                        <camel:bean ref="serviceHelper"
method="processException"/>
                        <camel:to ref="queueReportingEndpoint" />
                    </camel:doCatch>
                </camel:doTry>
        </camel:route>

generates an error at the line 42 of RollbackProcessor class :

org.apache.camel.spring.spi.TransactedRuntimeCamelException:
org.apache.camel.RollbackExchangeException: null on the exchange:
Exchange[Message: com.xpectis.x3s.platform.model.requ...@8aa95f]
    at
org.apache.camel.spring.spi.TransactionErrorHandler.wrapTransactedRuntimeException(TransactionErrorHandler.java:170)
    at
org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:121)

Is the parameter message of RollbackProcessor mandatory now ?

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com

Reply via email to