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

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

The end result that I would like to be able to do is to create a view of my 
middleware network.  In complex networks where nodes have failover connections 
and brokers are meshed or have on their own backup connections to other brokers 
getting a clear view of how things look now is really complex.  I want to make 
this better by having the ablity to produce a view of a network now.  This is 
to aid in debugging but also as a good aid to optimizing network construction 
and to identify setup errors.

This should show broker to node and broker to broker connections, perhaps as a 
graph.  The final output isnt the question.

In order to do produce the source data I need to be able to answer:

- what node is connected to broker a, to identify a noode I need its IPs
- what brokers are connected to broker a, to identify brokers I need their IPs

If the advisories showed the IP in all cases this would let me do it.

The bridge advisories are fine and the client advisories are fine, we just need 
a way to identify the machines hence the request for clientIP.



> 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