destinationConfigsAsList.add(destConfig);
}
public Context createContext() throws NamingException, JMSException {
if (connectionFactory instanceof JNDIConnectionFactory) {
JNDIConnectionFactory jndiCF = (JNDIConnectionFactory) connectionFactory;
return jndiCF.createContext();
} else {
return null;
}
}