public Connection getResponseConnection() throws NamingException, JMSException {
if (responseConnection == null) {
if (responseConnectionFactoryName != null) {
ConnectionFactory connectionFactory = (ConnectionFactory)jndiLookUp(responseConnectionFactoryName);
if (connectionFactory == null) {
throw new JMSBindingException("connection factory not found: " + responseConnectionFactoryName);
}
responseConnection = connectionFactory.createConnection();
} else {
// if no response connection is defined in the SCDL use the request connection
responseConnection = getConnection();