[ https://issues.apache.org/jira/browse/CAMEL-8674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506626#comment-14506626 ]
Tuure Laurinolli commented on CAMEL-8674: ----------------------------------------- Thank you. That's the reason I need the information as well :) > 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 > > 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)