Processor function ( final String arg0 ) { return new Processor ( ) { public void process ( Exchange arg1 ) { arg1 . getOut ( ) . setFault ( true ) ; arg1 . getOut ( ) . removeHeader ( arg0 ) ; } @ Override public String toString ( ) { return "srini_string" + arg0 + "srini_string" ; } } ; }
removes the header on the fault message fault must be out concode_field_sep PlaceHolder placeHolder concode_field_sep Processor removeHeader concode_elem_sep Processor setOutBody concode_elem_sep Processor setProperty concode_elem_sep Processor removeProperties concode_elem_sep Processor removeProperties concode_elem_sep Processor setOutHeader concode_elem_sep Processor removeHeaders concode_elem_sep Processor removeHeaders concode_elem_sep Processor setBody concode_elem_sep Processor setFaultHeader concode_elem_sep Processor setFaultBody concode_elem_sep Processor throwException concode_elem_sep Processor removeProperty concode_elem_sep Processor setHeader