Hi All, 
I am using wireTap to log the header / properties details.
I also want to make sure I do not copy the whole body of the message as that
would cause memory related issues when dealing with large number of huge
input files.

I am trying to understand the behind the scene work of Camel.

I tried the following (Which did give me the headers). Will the below
implementation still copy the whole exchange or just the Headers.
Also Please let me know how I could pass the Exchange Properties in a
similar way.

<route>
    <from
uri="file:C:\\camelProject\\data\\inbox\\mars?move=C:\\camelProject\\data\\inbox\\bkp"/>
    <wireTap uri="bean:testBean"/>
    <to uri="stream:out"/>
</route>

        public void testIntercept(@Headers Map<String, Object> headers){
                log.info("Reached Intercept: "+headers);
        }


Thanks & regards,
Ebe

--
View this message in context: 
http://camel.465427.n5.nabble.com/Passing-Header-Properties-to-Bean-tp5089208p5089208.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to