[ 
https://issues.apache.org/jira/browse/AMQ-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043257#comment-13043257
 ] 

R.I.Pienaar commented on AMQ-3135:
----------------------------------

the only other 2 connections:

This is my stomp connection to request this data, i connect from localhost so 
this is perfect:

{"ConnectionInfo": {
  "commandId": 0,
  "responseRequired": true,
  "connectionId": {
    "value": "ID:dev1.xx.net-46999-1307055165619-4:3"
  },
  "clientId": "ID:dev1.xx.net-46999-1307055165619-4:3",
  "clientIp": "/127.0.0.1:43407",
  "userName": "",
  "password": "",
  "brokerMasterConnector": false,
  "manageable": false,
  "clientMaster": true,
  "faultTolerant": false,
  "failoverReconnect": false
}}


this is outbound - but its not what I need, i am on dev1 it shows connections 
from dev3 and neither connectioninfo has dev3's ip ad clientip, the ip here is 
the IP of dev1 , which I guess is ok for the outbound connection but the 
inbound that I showed earlier never shows the IP of the dev3 remote broker

{"ConnectionInfo": {
  "commandId": 4,
  "responseRequired": false,
  "connectionId": {
    "value": "ID:dev3.xx.net-56412-1307055435940-3:1"
  },
  "clientId": "dev3-dev1_localhost_outbound",
  "clientIp": "tcp://dev1.xx.net/88.xx.xx.178:6166",
  "userName": "",
  "password": "",
  "brokerMasterConnector": false,
  "manageable": false,
  "clientMaster": true,
  "faultTolerant": false,
  "failoverReconnect": false
}}


> 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

Reply via email to