All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.camunda.bpm.camel.component.CamundaBpmConstants Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
package org.camunda.bpm.camel.component;

/**
 * Common constants for the camunda BPM Apache Camel component
 */
public final class CamundaBpmConstants {

  public static final String CAMUNDA_BPM_CAMEL_URI_SCHEME = "camunda-bpm";
  public static final String CAMUNDA_BPM_PROCESS_DEFINITION_KEY = "CamundaBpmProcessDefinitionKey";
  public static final String CAMUNDA_BPM_PROCESS_DEFINITION_ID = "CamundaBpmProcessDefinitionId";
  public static final String CAMUNDA_BPM_PROCESS_INSTANCE_ID = "CamundaBpmProcessInstanceId";
  public static final String CAMUNDA_BPM_BUSINESS_KEY = "CamundaBpmBusinessKey";
  public static final String CAMUNDA_BPM_CORRELATION_KEY = "CamundaBpmCorrelationKey";

  /* Apache Camel URI parameters */
  public final static String PROCESS_DEFINITION_KEY_PARAMETER = "processDefinitionKey";
  public final static String MESSAGE_NAME_PARAMETER = "messageName";
  public final static String CORRELATION_KEY_NAME_PARAMETER = "correlationKeyName";
  public final static String ACTIVITY_ID_PARAMETER = "activityId";
  public final static String COPY_MESSAGE_PROPERTIES_PARAMETER = "copyProperties";
  public final static String COPY_MESSAGE_HEADERS_PARAMETER = "copyHeaders";
  public final static String COPY_MESSAGE_BODY_AS_PROCESS_VARIABLE_PARAMETER = "copyBodyAsVariable";

  private CamundaBpmConstants() {
  } // prevent instantiation of helper class

  public static String camundaBpmUri(String path) {
    return CAMUNDA_BPM_CAMEL_URI_SCHEME + ":" + path;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy