You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2011/05/16 12:21:48 UTC

[jira] [Resolved] (AMQ-3135) ActiveMQ.Advisory.Connection messages should contain client ip/host

     [ https://issues.apache.org/jira/browse/AMQ-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-3135.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.6.0
         Assignee: Dejan Bosanac

Fixed with svn revision 1103673

I added a clientIp property that's set on the broker side (when connection is made) and have a value of remote socket address (it has ip and port combination).

I think this should be enough. Can you give it a whirl and see if it works for you.

> ActiveMQ.Advisory.Connection messages should contain client ip/host
> -------------------------------------------------------------------
>
>                 Key: AMQ-3135
>                 URL: https://issues.apache.org/jira/browse/AMQ-3135
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.4.2
>         Environment: CentOS, OpenJDK 6, ActiveMQ 5.4.2
>            Reporter: R.I.Pienaar
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>
> At present a connection advisory message recieved over stomp looks like:
> "ConnectionInfo": {
>   "commandId": 0,
>   "responseRequired": true,
>   "connectionId": {
>     "value": "ID:monitor1.xx.net-57901-1294599217160-5:10017"
>   },
>   "clientId": "ID:monitor1.xx.net-57901-1294599217160-5:10017",
>   "userName": "",
>   "password": "",
>   "brokerMasterConnector": false,
>   "manageable": false,
>   "clientMaster": true,
>   "faultTolerant": false,
>   "failoverReconnect": false
> }}
> Where monitor1.xx.net is the broker name.
> It would be very useful if these messages also included the IP Address, Hostname, Port of the client connecting.
> There other advisories that would also greatly benefit from this like ActiveMQ.Advisory.NetworkBridge
> thanks

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira