-
Build the project first
mvn clean install
on project root-level -
Start activemq -
docker-compose up activemq
and verify, that activemq was started and login viaadmin
/admin
-
Start lex server -
mvn spring-boot:run -f example/testapplication-main
-
Start lex client -
mvn spring-boot:run -f example/testapplication-lex
-
GOTO Swagger of the global application to generate a proxy task
-
GOTO Swagger of the global application to start a global business process
-
Use "DEKN_DEHAM_AE" as office and your own defined (unique) businessId to start the main process and trigger the LEX-bridge. If you use another office, no LEX-process will be started. For further details, please refer to the implementation
LexApplicationGateway
of the gateway within the global process.
Both spring boot applications does also start a camunda cockpit:
Global camunda cockpit (admin/admin)
Lex camunda cockpit (admin/admin)
On the global-application you can see the lex bridge and the lex proxy task for the lex process (LEX_ArrangeCustomsDE).
On the lex-application is the lex process (Lex Demo process for AE0100_LexBridge) which has already triggered the lex proxy task on global side.
You can now use the tasklist on lex server to work on the lex proxy task. After completing it, the lex bridge and the lex process should also get finished.
To see the history you have to use the enterprise version of camunda:
- Edit pom files:
Instead of camunda-bpm-spring-boot-starter-webapp
use camunda-bpm-spring-boot-starter-webapp-ee
Set camunda.version
to 7.10.5-ee
Add this to dependency management of root pom:
<dependency>
<!-- Import dependency management from camunda to force usage of camunda ee -->
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>${camunda.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
- Add license file to classpath:
Place a camunda-license.txt
(with the license key in it) to resources folder of both testapps.
Activemq monitoring
- http://localhost:8161/admin/ (admin/admin)