Thanks Christian for quick response. I greatly appreciate it.
The ${noun} or ${verb} are String variables and are set into Exchange as
follows:


MessageDispatchHeader messageDispatchHeader =
xxxMessageEnvelope.getMessageDispatchHeader();
        final String noun = messageDispatchHeader.getNoun();
        final String verb = messageDispatchHeader.getVerb();

Exchange   exchange = template.send("direct://contentBaseRouteStart", new
Processor() {
                public void process(Exchange exchange) throws Exception {
                    

                    // Noun Verb Combo.
                    exchange.getIn().setBody(xxxMessageEnvelope);
                    exchange.setProperty("noun", noun);
                    exchange.setProperty("verb", verb);




--
View this message in context: 
http://camel.465427.n5.nabble.com/Simple-Expression-With-And-Condition-doesnt-work-in-Camel-2-8-tp5723702p5723778.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to