public static String getClientId ( Connection connection ) { String clientId = null ; try { clientId = connection == null ? null : connection . getClientID ( ) ; } catch ( JMSException e ) { } return clientId ; }
Returns the client id from the connection .