activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Hariani <>
Subject Re: Failover URI: Connection Information
Date Wed, 28 Feb 2007 17:21:48 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Actually ... after the connection is started one can get this info
<tt>&nbsp;&nbsp;&nbsp; BrokerInfo info = ((ActiveMQConnection)
&nbsp;&nbsp;&nbsp; System.out.println("BrokerURL : " + info.getBrokerURL());<br>
naga007 wrote:
<blockquote cite="" type="cite">
  <pre wrap="">turn on jmx-connector and use jconsole to watch the queue statistics.

Gaurav Hariani wrote:
  <blockquote type="cite">
    <pre wrap="">Is there a way for a client to determine which broker it is connected
(when using a failover URI)?

  <pre wrap=""><!---->
&nbsp;&nbsp;&nbsp; <br>

View raw message