John,
The Netty component does not support the injection of the host and port values
from a header. An alternative solution would be to use a Recipient List [1]
where these values are specified on the endpoint as dynamic values [2] from a
source such as a message header.
From your example, if
;,
> exceptionMessage())
> .end()*
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Specifying-Netty-remote-host-at-runtime-tp5771365.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2nd edition:
https://www.manning.com/books/camel-in-action-second-edition
.ConnectException.class)
.setHeader("ServerInfoRouteOperationException",
exceptionMessage())
.end()*
--
View this message in context:
http://camel.465427.n5.nabble.com/Specifying-Netty-remote-host-at-runtime-tp5771365.html
Sent from the Camel - Users mailing list archive at Nabble.com.