You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "peter.berkman" <pe...@cornergrove.com> on 2013/01/16 23:37:56 UTC

Camel Mina Client Using Exchange Headers to Configure

I need to send messages to various TCPIP servers based on a variable in the
Camel Exchange headers.

My to uri looks like this:

  			<from uri="activemq:pixv2feedresults" />
  			<to
uri="mina:tcp://{{header.ngmsv2feedHost}}:{{header.ngmsv2feedPort}}?sync=true&amp;codec=#hl7codec"
/>

however, the component is unable to load...

Is there a quick solution for this problem?



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Mina-Client-Using-Exchange-Headers-to-Configure-tp5725664.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Mina Client Using Exchange Headers to Configure

Posted by Christian Müller <ch...@gmail.com>.
You are welcome. Enjoy the Camel ride!

Best,
Christian

Sent from a mobile device
Am 17.01.2013 17:33 schrieb "peter.berkman" <pe...@cornergrove.com>:

> Christian,
> that did the trick perfectly!  thank you!!!
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Mina-Client-Using-Exchange-Headers-to-Configure-tp5725664p5725713.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: Camel Mina Client Using Exchange Headers to Configure

Posted by "peter.berkman" <pe...@cornergrove.com>.
Christian,
that did the trick perfectly!  thank you!!!



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Mina-Client-Using-Exchange-Headers-to-Configure-tp5725664p5725713.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Mina Client Using Exchange Headers to Configure

Posted by Christian Müller <ch...@gmail.com>.
It cannot work. Have a look at
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html.

Best,
Christian
Am 16.01.2013 23:38 schrieb "peter.berkman" <pe...@cornergrove.com>:

> I need to send messages to various TCPIP servers based on a variable in the
> Camel Exchange headers.
>
> My to uri looks like this:
>
>                         <from uri="activemq:pixv2feedresults" />
>                         <to
>
> uri="mina:tcp://{{header.ngmsv2feedHost}}:{{header.ngmsv2feedPort}}?sync=true&amp;codec=#hl7codec"
> />
>
> however, the component is unable to load...
>
> Is there a quick solution for this problem?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Mina-Client-Using-Exchange-Headers-to-Configure-tp5725664.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>