The following code is in connections.jsp , it can get the RemoteAddress


--------------------------------------------------------------------------
<h2>Connection ${requestContext.connectionQuery.connectionID}</h2>

<table id="header" class="sortable autostripe">
        <tbody>
                <tr>
                        <td class="label" title="Unique ID for this 
connection">Connection
ID</td>
                        <td>${requestContext.connectionQuery.connectionID}</td>
                </tr>
                <tr>
                        <td class="label" tite="Hostname and port of the 
connected party">Remote
Address</td>
                        <td>${row.remoteAddress}</td>
                </tr>
                <tr>
                        <td class="label">Active</td>
                        <td>${row.active}</td>
                </tr>
                <tr>
                        <td class="label">Connected</td>
                        <td>${row.connected}</td>
                </tr>
                <tr>
                        <td class="label">Blocked</td>
                        <td>${row.blocked}</td>
                </tr>
                <tr>
                        <td class="label">Slow</td>
                        <td>${row.slow}</td>
                </tr>
        </tbody>
</table>
-- 
View this message in context: 
http://old.nabble.com/How-to-get-the-consumer-or-producer%27s-ip-address--tp29478980p29491042.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to