Package com.codebullets.sagalib

Examples of com.codebullets.sagalib.DeadMessage


    private void handleSagaMessage(final Object invokeParam) throws InvocationTargetException, IllegalAccessException {
        Collection<SagaInstanceDescription> sagaDescriptions = env.sagaFactory().create(invokeParam);
        if (!sagaDescriptions.isEmpty()) {
            executeMessage(invokeParam, sagaDescriptions);
        } else {
            DeadMessage deadMessage = new DeadMessage(invokeParam);
            sagaDescriptions = env.sagaFactory().create(deadMessage);
            if (!sagaDescriptions.isEmpty()) {
                executeMessage(deadMessage, sagaDescriptions);
            } else {
                LOG.warn("No saga found to handle message. (message = {})", invokeParam);
View Full Code Here

TOP

Related Classes of com.codebullets.sagalib.DeadMessage

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.