gtmfb.afterPropertiesSet();
TransactionManager tm = (TransactionManager) gtmfb.getObject();
tt = new TransactionTemplate(new JtaTransactionManager((UserTransaction) tm));
BrokerFactoryBean bfb = new BrokerFactoryBean(new ClassPathResource("org/apache/servicemix/jbi/nmr/flow/jca/broker.xml"));
bfb.afterPropertiesSet();
broker = bfb.getBroker();
broker.start();
JCAFlow senderFlow = new JCAFlow();
senderFlow.setJmsURL("tcp://localhost:61216");