camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huntc <hu...@mac.com>
Subject Re: throwFault deprecated - what is the equivalent for 1.x?
Date Tue, 26 May 2009 05:54:11 GMT

Hi Claus,

There is a setFaultBody and a setFaultHeader but I am not sure of how to use
these in place of throwFault. Do you have an example? Here's what I
presently do:

...
  .otherwise()
  .throwFault(
    "Unknown notification sent by fingerprint reader");

Thanks for your time.

Kind regards,
Christopher

-- 
View this message in context: http://www.nabble.com/throwFault-deprecated---what-is-the-equivalent-for-1.x--tp23717019p23717157.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Mime
View raw message