Package org.torquebox.stomp.component

Examples of org.torquebox.stomp.component.XAStompletComponent


    public void startAsync(StartContext context) throws Exception {
        this.runtime = this.poolInjector.getValue().borrowRuntime( getDestinationPattern() );

        try {
            ComponentResolver componentResolver = this.componentResolverInjector.getValue();
            XAStompletComponent stomplet = (XAStompletComponent) componentResolver.resolve( runtime );

            SimpleStompletContainer container = containerInjector.getValue();
            container.addStomplet( this.destinationPattern, stomplet, this.config );
        } catch (Exception e) {
            this.poolInjector.getValue().returnRuntime( this.runtime );
View Full Code Here

TOP

Related Classes of org.torquebox.stomp.component.XAStompletComponent

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.