Does the bean return a value?
Den 14. okt. 2011 21:35 skrev "mattmadhavan" <[email protected]>
følgende:

> Hello,
> Bear with me am a Newbie!
>
> /The following is my route config:
> /   <camelContext id="cnBDCamelContext"
> xmlns="http://camel.apache.org/schema/blueprint";>
>        <route id="in-bound" autoStartup="true">
>            <description>Camel In-Bound Route</description>
>            <from uri="activemq:TestHarness.A"/>
>            <to uri="bean:processMsgService?method=processmsg"/>
>       </route>
>    </camelContext>
> /
> My java code is:/
> ProducerTemplate template = this.camelContext.createProducerTemplate();
> Transfer reply = (Transfer) template.requestBody("activemq:TestHarness.A",
> transfer);
>
> The message arrives at the bean, but the reply does not arrive back!
>
> I got be missing something simple in config. Can some one point me to the
> right direction?
>
> Thanks in advance!
>
> Matt
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/ActiveMQ-ProducerTemplate-not-getting-the-response-back-Any-missing-cobfiguration-tp4903629p4903629.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to