Gert,
The route starts with a jms consumer:
<jms:consumer service="sns:jms-consumer"
destinationName="${outbound-queue}"
connectionFactory="#xaConnectionFactory"
targetService="#targetService"
synchronous="true"
transacted="xa"
cacheLevel="3"
marshaler="#consumerMarshaler"
endpoint="jmsEndpoint"/>
The jms consumer is on an activemq queue. The target service is a pipeline
(transformer:xslt transformer, target service: camel-jbi endpoint).
The Camel Route is declared using DSL:
from("jbi:endpoint:http://my.namaspace.com/router/dynamic-router").throttler(THROTTLING_LIMIT).to("jbi:endpoint:http://my.namaspace.com/myservice/mycustomProviderEndpoint");
The problem lies when inside my custom provider endpoint I throw an
Exception or call fail() / error() on my Exchange.
As far as I know in a normal servicemix route the Exchange should return to
my consumer endpoint even as fail or error. When I use camel it seems that
no matter what the jms consumer gets a done back.
--
View this message in context:
http://www.nabble.com/servicemix-camel-and-error-handling-tp25623679p25634774.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.