Hello,
I'm having a bit of trouble getting the Robust-In-Only fault routing set
up. The deployment is set up where a custom Java component initiate an
exchange, which is sent to some pipelines and through some transformers.
Eventually, it's routed through an HTTP component. In the case of a
fault, the component sends the fault back to the last pipeline in line.
It's intended that the Fault is caught by the custom component.
This is now how it's working, however. I've tried setting a faultTarget
element in the Target of the pipeline that gets the fault first, routing
it back directly to my custom component. I'll add a snippet of the log
later on. It seems the fault hovers between the http component and that
first pipeline, but is never sent to the custom component.
If I do not use faultTarget, things do not seem to work either. The
deployment uses the following components:
Custom Java BC (akrpoller)
EIP Pipeline1
LW XSLT
EIP recipient list
EIP Pipeline2
HTTP component
Logger component
Debugging Logger component
The EIP Pipeline2 is set up as follows:
<eip:pipeline service="wkpb:pipeline2" endpoint="endpoint">
<eip:transformer>
<eip:exchange-target service="wkpb:httpComponent" />
</eip:transformer>
<eip:target>
<eip:exchange-target service="wkpb:Dump"/>
<eip:faultTarget service="wkpb:akrpoller"/>
</eip:target>
</eip:pipeline>
I'm flat out of ideas at the moment. Any help would be greatly
appreciated.
Rob de Jong