[
https://issues.apache.org/jira/browse/AMQ-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052528#comment-13052528
]
R.I.Pienaar commented on AMQ-3135:
----------------------------------
OK, I now get brokerinfo messages:
"BrokerInfo": {
"commandId": 1,
"responseRequired": false,
"brokerId": {
"value": "ID:dev3.xxx.net-36297-1308660607779-0:1"
},
"brokerURL": "tcp://dev3.xxx.net:6166",
"slaveBroker": false,
"masterBroker": false,
"faultTolerantConfiguration": false,
"networkConnection": true,
"duplexConnection": false,
"brokerName": "localhost",
"connectionId": 0,
"networkProperties": "...."
}}
This is fine - the brokerURL is great and it even shows the correct protocol
unlike the connection ones.
The issue left is that I can only get this information where there's events -
like a broker connecting/disconnecting. Compare with
ActiveMQ.Advisory.Connection that dumps the current network state when you
first subscribe to it. So for the purpose of mapping networks I still have no
way afaik to ask it to show me its current state for the brokers.
> 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