activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Hariani <g.activ...@blackspark.com>
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">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Actually ... after the connection is started one can get this info
using:<br>
<br>
<tt>&nbsp;&nbsp;&nbsp; BrokerInfo info = ((ActiveMQConnection)
connection).getBrokerInfo();<br>
&nbsp;&nbsp;&nbsp; System.out.println("BrokerURL : " + info.getBrokerURL());<br>
</tt><br>
<br>
<br>
naga007 wrote:
<blockquote cite="mid9208562.post@talk.nabble.com" type="cite">
  <pre wrap="">turn on jmx-connector and use jconsole to watch the queue statistics.




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




    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
&nbsp;&nbsp;&nbsp; <br>
</body>
</html>

Mime
View raw message