camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mail2bansi <mail2ba...@gmail.com>
Subject Re: Simple Expression With And Condition doesnt work in Camel 2.8
Date Sat, 08 Dec 2012 00:15:10 GMT
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.

Mime
View raw message