Hi,

I'd like to set a custom message body after handling an exception.

I have handled an exception with the following, how do I set the body to a
desired message?

<route>
        <from uri="direct:route2"/>
        <to uri="xslt:requestToSOAP.xsl"/>
         <!-- do other things -->
        <onException>
           
<exception>org.apache.servicemix.cxfbc.interceptors.JbiFault</exception>
            <redeliveryPolicy maximumRedeliveries="1" />
            <handled><constant>true</constant></handled>
            <!-- set response message to client system here -->
      </onException>
</route>


-- 
View this message in context: 
http://old.nabble.com/Setting-custom-response-message-after-handling-exception-tp27450868p27450868.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to