Package org.apache.activemq

Examples of org.apache.activemq.ActiveMQXAConnectionFactory


  @Primary
  @Bean(name = { "jmsConnectionFactory", "xaJmsConnectionFactory" })
  public ConnectionFactory jmsConnectionFactory(ActiveMQProperties properties,
      XAConnectionFactoryWrapper wrapper) throws Exception {
    ActiveMQXAConnectionFactory connectionFactory = new ActiveMQConnectionFactoryFactory(
        properties).createConnectionFactory(ActiveMQXAConnectionFactory.class);
    return wrapper.wrapConnectionFactory(connectionFactory);
  }
View Full Code Here


        } catch (XAException e) {
            throw new IllegalStateException(e.getMessage(), e);
        }
        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);
View Full Code Here

TOP

Related Classes of org.apache.activemq.ActiveMQXAConnectionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.