Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 919A96D8D for ; Mon, 16 May 2011 10:22:29 +0000 (UTC) Received: (qmail 22153 invoked by uid 500); 16 May 2011 10:22:29 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 22114 invoked by uid 500); 16 May 2011 10:22:28 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 22106 invoked by uid 99); 16 May 2011 10:22:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 10:22:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 10:22:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 05127CC698 for ; Mon, 16 May 2011 10:21:48 +0000 (UTC) Date: Mon, 16 May 2011 10:21:48 +0000 (UTC) From: "Dejan Bosanac (JIRA)" To: dev@activemq.apache.org Message-ID: <1169098407.15042.1305541308017.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1988865.366851295003385224.JavaMail.jira@thor> Subject: [jira] [Resolved] (AMQ-3135) ActiveMQ.Advisory.Connection messages should contain client ip/host MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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