1 Reply Latest reply on Jan 13, 2009 11:47 AM by italost

    Camel cxf-se Exception handling

    neenamathew

      I have aroute where my binding component is calling a camel route.

       

      Here is my Camel Route

       

      cxf-se -


      > saxon ---> sftp --->xslt

       

      I am throwing a validation exception from my csf-se component. This exception is not propageted back to my client.

       

      I am getting the following error in client.

       

      java.lang.RuntimeException: javax.jbi.messaging.MessagingException: Setting fault, but message is not a fault

       

      How can I propage the proper error back to client? If I change from camel route to EIP it works. I am getting the proper error back in the client

       

      I am attaching the exception trace