i'm trying to catch org.apache.camel.ExchangeTimedOutException using bean,
here the spring dsl

<onException>
      <exception>org.apache.camel.ExchangeTimedOutException</exception>
      <handled>
        <constant>true</constant>
      </handled>
      <bean ref="appErrorHandler" method="onTimeOutException"/>
</onException>

but i got following error log: FatalFallbackErrorHandler
FatalFallbackErrorHandler      ERROR \--> Previous exception on exchangeId:
...
org.apache.camel.ExchangeTimedOutException ...

FatalFallbackErrorHandler      ERROR \--> New exception on exchangeId: ...
org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange: Exchange[Message: [Body is null]]


but i got the right body from the caller.




--
View this message in context: 
http://camel.465427.n5.nabble.com/got-FatalFallbackErrorHandler-when-trying-handing-error-with-bean-tp5729828.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to