Examples of PseudoXAStompletTransaction


Examples of org.projectodd.stilts.stomplet.container.xa.PseudoXAStompletTransaction

        this.stomplet.destroy();
    }

    @Override
    public void onMessage(StompMessage message, StompSession session) throws StompException {
        PseudoXAStompletTransaction tx = null;
       
        if (this.resourceManager != null) {
            tx = this.resourceManager.currentTransaction();
        }
       
        if (tx == null) {
            this.stomplet.onMessage( message, session );
        } else {
            tx.addSentMessage( message, session );
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.