}
bus = BusFactory.getDefaultBus();
registerTransactionManager();
ActiveMQXAConnectionFactory cf1 = new ActiveMQXAConnectionFactory(brokerURI);
cf1.setRedeliveryPolicy(redeliveryPolicy());
JcaPooledConnectionFactory pcf = new JcaPooledConnectionFactory();
pcf.setTransactionManager(transactionManager);
pcf.setConnectionFactory(cf1);
cf = pcf;
cff = new ConnectionFactoryFeature(pcf);
}