You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/04/22 13:26:59 UTC
[jira] [Resolved] (CAMEL-8674) Camel-Netty4 does not set remote UDP
address in headers
[ https://issues.apache.org/jira/browse/CAMEL-8674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-8674.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.16.0
2.15.2
2.14.3
I just merge the patch into camel master, camel-2.15.x and camel-2.14.x branches.
> Camel-Netty4 does not set remote UDP address in headers
> -------------------------------------------------------
>
> Key: CAMEL-8674
> URL: https://issues.apache.org/jira/browse/CAMEL-8674
> Project: Camel
> Issue Type: Bug
> Components: camel-netty4
> Affects Versions: 2.15.1
> Reporter: Tuure Laurinolli
> Assignee: Willem Jiang
> Fix For: 2.14.3, 2.15.2, 2.16.0
>
>
> It appears that camel-netty4 does not set CamelNettyRemoteAddress in *headers* of an Exchange generated by an in-only UDP endpoint.
> It does set CamelNettyRemoteAddress in *properties* of the exchange.
> CamelNettyRemoteAddress in *properties* is set from AddressedEnvelope#sender(). CamelNettyRemoteAddress in *headers* is set from ChannelHandlerContext#channel().remoteAddress().
> It appears that the latter does not actually contain the remote address. Possible solutions are:
> 1) Change NettyEndpoint to set CamelNettyRemoteAddress in *headers* from the AddressedEnvelope received
> 2) Change NettyEndpoint to set CamelNettyRemoteAddress from *properties* (and to set *properties* of the Exchange first)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)