context.rebind(XA_TOPIC_CONNECTION_FACTORY, xaTopicConnectionFactory);
// create the topic connection factory
topicFactory = AQjmsFactory.getTopicConnectionFactory(ds);
context.rebind(TOPIC_CONNECTION_FACTORY, topicFactory);
topicConnection = topicFactory.createTopicConnection();
session = (AQjmsSession) topicConnection.createTopicSession(false,
Session.AUTO_ACKNOWLEDGE);
List<DestinationInfo> list = AQUtil.getDestinationInfoList(ds, aqSchemaName);
// for each queue
Iterator<DestinationInfo> iter = list.iterator();