Package org.apache.servicemix.common

Examples of org.apache.servicemix.common.AsyncBaseLifeCycle


    public JcaConsumerProcessor(JmsEndpoint endpoint) {
        super(endpoint);
    }

    public void start() throws Exception {
        AsyncBaseLifeCycle lf = (AsyncBaseLifeCycle) endpoint.getServiceUnit().getComponent().getLifeCycle();
        channel = lf.getContext().getDeliveryChannel();
        transactionManager = (TransactionManager) lf.getContext().getTransactionManager();
        endpointFactory = new SingletonEndpointFactory(this, transactionManager);
        bootstrapContext = endpoint.getBootstrapContext();
        if (bootstrapContext == null) {
            throw new IllegalArgumentException("bootstrapContext not set");
        }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.common.AsyncBaseLifeCycle

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.