Hi,
CXF uses the role attribute of the SoapFault to set the FaultActor [1]. So
in order to set the FaultActor you would have to do something like:
SoapFault sf = new SoapFault("my exception message",
SoapFault.FAULT_CODE_SERVER);
sf.setRole("bla bla");
and in your Camel route:
from(....).setFaultBody(constant(sf)).....
Regards,
Richard
http://richardlog.com
[1]
https://github.com/apache/cxf/blob/master/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap11FaultOutInterceptor.java#L97
On Fri, Mar 28, 2014 at 2:17 AM, Gnanaguru S <[email protected]> wrote:
> Hi,
>
> I am just searching around camel docs and related books for adding
> 'faultactor' to the camel responses.
>
> I am familiar about <setFaultBody> but I havent come across adding
> 'faultactor' to the camel reponse.
>
> Any clues or ideas ?
>
> Regards
> Guru
> gnanaguru.com
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/faultactor-in-Camel-responses-tp5749457.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>