Package org.activemq.ra

Examples of org.activemq.ra.ActiveMQManagedConnectionFactory


          containerConnector.setResourceAdapter(resourceAdapter);
          containerConnector.setEndpointFactory(new SingletonEndpointFactory(this, getTransactionManager()));
          containerConnector.afterPropertiesSet();
         
          // Outbound connector
          ActiveMQManagedConnectionFactory mcf = new ActiveMQManagedConnectionFactory();
          mcf.setResourceAdapter(resourceAdapter);
          ConnectionFactory cf = (ConnectionFactory) mcf.createConnectionFactory(getConnectionManager());
          jmsTemplate = new JmsTemplate(cf);
          jmsTemplate.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
          jmsPersistentTemplate = new JmsTemplate(cf);
          jmsPersistentTemplate.setDeliveryMode(DeliveryMode.PERSISTENT);
         
View Full Code Here

TOP

Related Classes of org.activemq.ra.ActiveMQManagedConnectionFactory

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.