camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuure Laurinolli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8674) Camel-Netty4 does not set remote UDP address in headers
Date Mon, 20 Apr 2015 09:44:58 GMT
Tuure Laurinolli created CAMEL-8674:
---------------------------------------

             Summary: 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


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)

Mime
View raw message