camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Having trouble with an InOut route
Date Wed, 06 Jul 2011 00:07:11 GMT

For starters, I would change the template code to do what is shown in my
code stub below

Second, You might want to add a trace interceptor to see what is happening
along the route 

Third, the code you have appended is incomplete since there is insufficient
information on the aggregation strategy and what it is doing to the message
and what kind of exchange is expected to be returned.

For ideas on how to craft what you are looking to do, I am appending a
couple of examples that will help you sort things out.



    Exchange exchange = this.producerTemplate.send(this.endpoint, 
    ExchangePattern.InOut, new Processor() { 
        public void process(Exchange exchange) throws Exception { 
            /* exchange.setIn(message); */ 

Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

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

View raw message