if (_listenerConfig == null)
throw new ConfigException(L.l("'listener' is required for ListenerResource."));
if (_connFactory == null && _destination instanceof AbstractDestination)
_connFactory = new JmsConnectionFactory();
if (_connFactory == null)
throw new ConfigException(L.l("connection-factory is required for ListenerResource."));
_conn = _connFactory.createConnection();