From dev-return-6542-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Tue May 08 01:26:18 2007 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 92876 invoked from network); 8 May 2007 01:26:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 01:26:17 -0000 Received: (qmail 25772 invoked by uid 500); 8 May 2007 01:26:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 25710 invoked by uid 500); 8 May 2007 01:26:13 -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 25676 invoked by uid 99); 8 May 2007 01:26:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 18:26:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aco@exist.com designates 209.235.254.11 as permitted sender) Received: from [209.235.254.11] (HELO exodus.exist.com) (209.235.254.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 18:26:06 -0700 Received: from [192.168.1.34] (58.69.18.71.pldt.net [58.69.18.71] (may be forged)) (authenticated bits=0) by exodus.exist.com (8.13.1/8.13.1) with ESMTP id l481PYrd011625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 7 May 2007 21:25:37 -0400 Message-ID: <463FD181.9030900@exist.com> Date: Tue, 08 May 2007 09:25:21 +0800 From: Adrian Co User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: dev@activemq.apache.org Subject: Re: How to connect to remote broker References: <10357750.post@talk.nabble.com> In-Reply-To: <10357750.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You might want to try JMX. http://activemq.apache.org/jmx.html Jiang wrote: > I start ActiveMQ4.1.1 on my server ( for example: ip=192.168.0.1) standalone > Now I want to connect to the server from my pc(ip=192.168.0.2) to do some > administration. I think it should first create one object that stand for the > broker on my server. Then all the actions can be done through that object . > I look for several classes but they don't have the constructor with > parameters such as ip and so on. How can I do that? > Could someone gives code example.??? Thanks a lot . > >