Package org.camunda.bpm.engine.impl.jobexecutor

Examples of org.camunda.bpm.engine.impl.jobexecutor.AsyncBeforeMessageJobDeclaration


    activity.setAsyncBefore(isAsyncBefore);
    activity.setAsyncAfter(isAsyncAfter);

    if(isAsyncBefore) {

      MessageJobDeclaration messageJobDeclaration = new AsyncBeforeMessageJobDeclaration();
      messageJobDeclaration.setExclusive(exclusive);
      messageJobDeclaration.setActivityId(activity.getId());

      addMessageJobDeclarationToActivity(messageJobDeclaration, activity);
      addJobDeclarationToProcessDefinition(messageJobDeclaration, activity.getProcessDefinition());
    }

    if(isAsyncAfter) {

      MessageJobDeclaration messageJobDeclaration = new AsyncAfterMessageJobDeclaration();
      messageJobDeclaration.setExclusive(exclusive);
      messageJobDeclaration.setActivityId(activity.getId());

      addMessageJobDeclarationToActivity(messageJobDeclaration, activity);
      addJobDeclarationToProcessDefinition(messageJobDeclaration, activity.getProcessDefinition());
    }
View Full Code Here


    activity.setAsyncBefore(isAsyncBefore);
    activity.setAsyncAfter(isAsyncAfter);

    if(isAsyncBefore) {

      MessageJobDeclaration messageJobDeclaration = new AsyncBeforeMessageJobDeclaration();
      messageJobDeclaration.setExclusive(exclusive);
      messageJobDeclaration.setActivityId(activity.getId());

      addMessageJobDeclarationToActivity(messageJobDeclaration, activity);
      addJobDeclarationToProcessDefinition(messageJobDeclaration, activity.getProcessDefinition());
    }

    if(isAsyncAfter) {

      MessageJobDeclaration messageJobDeclaration = new AsyncAfterMessageJobDeclaration();
      messageJobDeclaration.setExclusive(exclusive);
      messageJobDeclaration.setActivityId(activity.getId());

      addMessageJobDeclarationToActivity(messageJobDeclaration, activity);
      addJobDeclarationToProcessDefinition(messageJobDeclaration, activity.getProcessDefinition());
    }
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.impl.jobexecutor.AsyncBeforeMessageJobDeclaration

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.