private ConnectionInfo getConnectionInfo(DataLocation loc, boolean bIsSource) {
StringKeyValuePairs keyValues = null;
if (loc instanceof JmsLocation) {
keyValues = new StringKeyValuePairs();
JmsLocation jmsLocation = (JmsLocation) loc;
Map<String, String> m = ClientServerJmsPropertyMapper.getJmsLocationProperties(jmsLocation);
for (Map.Entry<String, String> e : m.entrySet()) {
keyValues.putString(e.getKey(), e.getValue());
}