camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Is message of RollbackProcessor class mandatory - camel 2.0 ?
Date Thu, 09 Jul 2009 11:29:06 GMT
Hi

I have just commited a fix. Could you try again with latest code from trunk?


On Thu, Jul 9, 2009 at 1:11 PM, Charles Moulliard<cmoulliard@gmail.com> wrote:
> 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.Request@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
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message