Hazelcast Persistence Provider for Camunda Engine

This pom defines the required plugins and profiles to allow a camunda release build. Inherit this pom when you want to release your project into the camunda nexus and/or maven central.

Лицензия

Лицензия

Категории

Категории

Hazelcast Библиотеки уровня приложения Distributed Applications
Группа

Группа

org.camunda.bpm.ext
Идентификатор

Идентификатор

camunda-engine-hazelcast
Последняя версия

Последняя версия

1.0.0-alpha1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Hazelcast Persistence Provider for Camunda Engine
This pom defines the required plugins and profiles to allow a camunda release build. Inherit this pom when you want to release your project into the camunda nexus and/or maven central.
Организация-разработчик

Организация-разработчик

camunda services GmbH
Система контроля версий

Система контроля версий

https://github.com/camunda/camunda-engine-hazelcast

Скачать camunda-engine-hazelcast

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.camunda.bpm.ext/camunda-engine-hazelcast/ -->
<dependency>
    <groupId>org.camunda.bpm.ext</groupId>
    <artifactId>camunda-engine-hazelcast</artifactId>
    <version>1.0.0-alpha1</version>
</dependency>
// https://jarcasting.com/artifacts/org.camunda.bpm.ext/camunda-engine-hazelcast/
implementation 'org.camunda.bpm.ext:camunda-engine-hazelcast:1.0.0-alpha1'
// https://jarcasting.com/artifacts/org.camunda.bpm.ext/camunda-engine-hazelcast/
implementation ("org.camunda.bpm.ext:camunda-engine-hazelcast:1.0.0-alpha1")
'org.camunda.bpm.ext:camunda-engine-hazelcast:jar:1.0.0-alpha1'
<dependency org="org.camunda.bpm.ext" name="camunda-engine-hazelcast" rev="1.0.0-alpha1">
  <artifact name="camunda-engine-hazelcast" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.camunda.bpm.ext', module='camunda-engine-hazelcast', version='1.0.0-alpha1')
)
libraryDependencies += "org.camunda.bpm.ext" % "camunda-engine-hazelcast" % "1.0.0-alpha1"
[org.camunda.bpm.ext/camunda-engine-hazelcast "1.0.0-alpha1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.camunda.bpm : camunda-engine jar
com.hazelcast : hazelcast-all jar 3.2.1
com.fasterxml.uuid : java-uuid-generator jar

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

camunda-engine-hazelcast

Hazelcast Persistence for Camunda (Community Extension)

Example Process

Getting Started

In order to get started with Camunda and Hazelcast, you need to setup a Java Project which has the camunda-engine-hazelcast in the classpath. If you use Apache Maven this would include the following dependencies:

<dependencies>
  <dependency>
    <groupId>org.camunda.bpm.ext</groupId>
    <artifactId>camunda-engine-hazelcast</artifactId>
    <version>1.0.0-alpha1</version>
  </dependency>
</dependencies>

Next, you create a Java Class with a Main Method configure and start Camunda:

public class Server {

  public static void main(String[] args) {

    ProcessEngine processEngine = new HazelcastProcessEngineConfiguration()
      .buildProcessEngine();

    try {

      // your code goes here...

    }
    finally {
      processEngine.close();
    }

  }

}

This starts up the Camunda Process Engine with an embedded Hazelcast Instance.

Once you have this set up, you can deploy a bpmn process:

// repository service allows managing deployments
final RepositoryService repositoryService = processEngine.getRepositoryService();

// create a new deployment of a simple workflow
repositoryService.createDeployment()
  .addModelInstance("test-process.bpmn",
    Bpmn.createExecutableProcess("testProcess")
      .startEvent()
      .receiveTask("waitForMessage")
      .endEvent()
    .done())
  .deploy();

In the code example above, the BPMN process is created using the fluent dsl. Resulting process consists of a start event, a message receive task and an end event:

Example Process

This process can be started like this:

final RuntimeService runtimeService = processEngine.getRuntimeService();

// start the process
ProcessInstance pi = runtimeService.startProcessInstanceByKey("testProcess");

// signal the process instance to continue
runtimeService.signal(pi.getId());

Read the Camunda Documentation.

org.camunda.bpm.ext

Camunda

Версии библиотеки

Версия
1.0.0-alpha1