How do we find out in which server the particular connection/client is connected to in the FT url is used?

How do we find out in which server the particular connection/client is connected to in the FT url is used?

book

Article ID: KB0086780

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:

Use in the following way to get the active URL from the class  "com.tibco.tibjms" using the method.

static java.lang.String     getConnectionActiveURL(Connection connection)
          Returns a string representing the URL of the server that this connection is currently connected to.

In that, if you pass the connection object, it will retrun the URL of that connection which is being connected
to currently.

Issue/Introduction

How do we find out in which server the particular connection/client is connected to in the FT url is used?