camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mail2bansi <>
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

MessageDispatchHeader messageDispatchHeader =
        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.setProperty("noun", noun);
                    exchange.setProperty("verb", verb);

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message