Nice to meet you , everyone. from Japan

I want to construct dynamic URI in Netty producer.

According to this forum, when I have to use dynamic URI, 
everyone say that I should use "Recipient List ".

I got it.

But, I have used the "header option" in the past instead of "Recipient List"
in HTTP producer.

the above is,

 .from(・・・・・)             // receive a message 
 .setHeader(Exchange.HTTP_URI, xxx.xxx.xxx.xxx)  // set Exchange.HTTP_URI
 .to("http://dammy.com";);    //overrided by above URI

I want to have same way as above for Netty.

The follow is my image.

 .from(・・・・・)             // receive a message 
 .setHeader(xxxxxxxx, xxx.xxx.xxx.xxx)  // set sending hostname
 .to("tcp://dammy.com");   //overrided by above hostname

Thank you.

P.S. I am not good at English,sorry



--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamic-URI-Netty-producer-tp5774338.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to