+ "?broker.persistent=false");
cf.setRedeliveryPolicy(redeliveryPolicy());
XaPooledConnectionFactory cfp = new XaPooledConnectionFactory(cf);
cfp.setTransactionManager(tm);
cfp.setConnectionFactory(cf);
Connection connection = cfp.createConnection();
connection.start();
return connection;
}
private RedeliveryPolicy redeliveryPolicy() {