Package com.catify.processengine.core.messages

Examples of com.catify.processengine.core.messages.MetaDataMessage


   */
  @Override
  public void onReceive(Object message) {
    if (message instanceof MetaDataMessage) {

      MetaDataMessage metaMessage = (MetaDataMessage) message;

      processInstanceMediatorService.setMetaDataProperties(
          metaMessage.getUniqueProcessID(),
          metaMessage.getProcessInstanceId(),
          metaMessage.getMetaData());

    } else {
      unhandled(message);
    }
  }
View Full Code Here


    // send the integration message to the actor
    targetNodeActor.tell(triggerMessage, null);
   
    // send the meta data to the meta data actor (if it is not a start event, which can not collect meta data)
    if (integrationMessage.getProcessInstanceId() != null) {
      MetaDataMessage metaDataMessage = new MetaDataMessage(integrationMessage.getProcessId(), integrationMessage.getProcessInstanceId(), metaData);
     
      LOG.debug("Message Dispatcher sending meta data message to " + this.metaDataActor);
     
      metaDataActor.tell(metaDataMessage, null);
    }
View Full Code Here

TOP

Related Classes of com.catify.processengine.core.messages.MetaDataMessage

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.