Package com.catify.processengine.core.integration

Examples of com.catify.processengine.core.integration.IntegrationMessage


    } else {
      data = "no payload";
    }
   
    // create an IntegrationMessage to be send to the message dispatcher
    IntegrationMessage integrationMessage = new IntegrationMessage(
        this.uniqueProcessId, this.uniqueFlowNodeId,
            message.getProcessInstanceId(), data);
   
    // dispatch that message via the integration spi and return the response
    return messageDispatcherService.requestReplyViaIntegrationSPI(
View Full Code Here


    } else {
      data = "no payload";
    }

    // create an IntegrationMessage to be send to the message dispatcher
    IntegrationMessage integrationMessage = new IntegrationMessage(
        this.uniqueProcessId, this.uniqueFlowNodeId,
        message.getProcessInstanceId(), data);

    // dispatch that message via the integration spi
    messageDispatcherService.dispatchViaIntegrationSPI(
View Full Code Here

                }

                // mapping the message to the correct flow node id is done via
                // the corresponding header (it could also be done via the 
                // flowNodeIdIntegrationMap or the routeId)
                IntegrationMessage integrationMessage = new IntegrationMessage(
                    ex.getIn().getHeader("processId",
                        String.class), ex.getIn()
                        .getHeader("uniqueFlowNodeId",
                            String.class), ex
                        .getIn().getHeader(
                            "processInstanceId",
                            String.class), ex
                        .getIn().getBody());
               
                if (integrationMessage.getUniqueFlowNodeId() == null) {
                  integrationMessage.setUniqueFlowNodeId(uniqueFlowNodeId);
                }
               
                receive(integrationMessage,
                    metaDataValues);
View Full Code Here

TOP

Related Classes of com.catify.processengine.core.integration.IntegrationMessage

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.