[
https://issues.apache.org/activemq/browse/SM-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gert Vanthienen resolved SM-1665.
---------------------------------
Assignee: Gert Vanthienen
Resolution: Working as Designed
The {{<handleFault/>}} element is a block element and needs to contain the
target services for which to handle Faults with the error handler.
Something like
{code:xml}
<route errorHandlerRef="deadLetterErrorHandler">
<from
uri="jbi:service:http://servicemix.apache.org/samples/wsdl-first/PersonServiceProviderHandler"
/>
<handleFault>
<to
uri="jbi:service:http://servicemix.apache.org/samples/wsdl-first/PersonServiceProvider?mep=in-out"
/>
</handleFault>
</route>
{code}
> smx-camel errorHandler w/handleFault="true" does not "handle" JBIFault thrown
> by smx-cxf-bc provider
> ----------------------------------------------------------------------------------------------------
>
> Key: SM-1665
> URL: https://issues.apache.org/activemq/browse/SM-1665
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Affects Versions: servicemix-camel-2008.01
> Environment: Proposed 3.3 release
> (http://people.apache.org/~ffang/servicemix3.3-2nd-try/)
> with smx-camel-2008.01 component patched to include camel-core-1.5.0.jar and
> camel-spring-1.5.0.jar
> from
> http://people.apache.org/~hadrian/apache-camel-1.5.0-RC1/maven2/org/apache/camel/apache-camel/1.5.0/apache-camel-1.5.0.zip.
> Reporter: Ron Gavlin
> Assignee: Gert Vanthienen
> Attachments: cxf-wsdl-first-http2jmsbridge-camelerrorhandler.zip,
> servicemix-camel-2008.01-updated-installer.zip, servicemix.log
>
>
> I have a variant of the cxf-wsdl-first example that includes a smx-cxf-bc
> (in-out) consumer <-> smx-camel errorHandler w/handleFault="true" <->
> smx-cxf-bc (in-out) provider <-> JMS BROKER <-> smx-cxf-bc (in-out) consumer
> <-> smx-cxf-se.
> I use client.html to send a request with no personId which triggers the
> smx-cxf-se PersonImpl class to throw an UnknownPersonFault. The smx-camel
> errorHandler does not intercept the JBIFault and redeliver as expected.
> I have attached a test case, my patched
> servicemix-camel-2008.01-updated-installer.zip, and the corresponding
> servicemix.log. In order to exercise the test,
> 1. deploy wsdl-first-cxf-sa-3.3.zip from the test case archive
> 2. open client.html from the test case archive in a browser, delete the
> personId value, then click send.
> 3. notice that the camel errorHandler performs no redeliveries
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.