Processor function ( final String arg0 , final String ... arg1 ) { return new Processor ( ) { public void process ( Exchange arg2 ) { arg2 . removeProperties ( arg0 , arg1 ) ; } @ Override public String toString ( ) { return "srini_string" + arg0 + "srini_string" + Arrays . toString ( arg1 ) + "srini_string" ; } } ; }
removes all properties on the exchange , except for the ones provided in the names parameter concode_field_sep PlaceHolder placeHolder concode_field_sep Processor removeHeader concode_elem_sep Processor setOutBody concode_elem_sep Processor setProperty concode_elem_sep Processor removeFaultHeader 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