Package org.activemq.ra

Examples of org.activemq.ra.ActiveMQResourceAdapter


    public void setBroadcastDestinationName(String broadcastDestinationName) {
        this.broadcastDestinationName = broadcastDestinationName;
    }

    protected ResourceAdapter createResourceAdapter() throws ResourceAdapterInternalException {
      ActiveMQResourceAdapter ra = new ActiveMQResourceAdapter();
      ra.setServerUrl(jmsURL);
      ra.start(getBootstrapContext());
      return ra;
    }
View Full Code Here


        TransactionContextManager manager = new TransactionContextManager(etm, xidImporter);

        GeronimoWorkManager workManager = new GeronimoWorkManager(1000, manager);
        workManager.doStart();

        ActiveMQResourceAdapter ra = new ActiveMQResourceAdapter();
        ra.setServerUrl("vm://localhost");

        ResourceAdapterWrapper raWrapper = new ResourceAdapterWrapper(ra, workManager);
        raWrapper.doStart();

        ActiveMQActivationSpec as = new ActiveMQActivationSpec();
View Full Code Here

            public Class getType(String arg0) throws NoSuchBeanDefinitionException {
                return null;
            }
        });

        ActiveMQResourceAdapter ra = new ActiveMQResourceAdapter();
        ra.setServerUrl("vm://localhost");
        ra.setBrokerXmlConfig("org/activemq/jca/broker-vmpersistence.xml");
        ra.setUseEmbeddedBroker(Boolean.TRUE);

        jcac.setResourceAdapter(ra);

        SpringWorkManager wm = new SpringWorkManager();
        wm.afterPropertiesSet();
View Full Code Here

TOP

Related Classes of org.activemq.ra.ActiveMQResourceAdapter

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.