Camunda BPM Spring Boot 2.0.0 released

By
  • Blog
  • >
  • Camunda BPM Spring Boot 2.0.0 released
TOPICS

30 Day Free Trial

Bring together legacy systems, RPA bots, microservices and more with Camunda

Sign Up for Camunda Content

Get the latest on Camunda features, events, top trends, and more.

TRENDING CONTENT

Today is a great day for the Camunda Spring Boot starter extension: after three
month of hard (but mostly fun) work, we are proud to announce the release of 2.0.0.

We decided to switch to a new major version, because a lot of things changed:

  • new groupId: org.camunda.bpm.extension.springboot and a new maven module structure
  • switch to Java 8
  • switch to Spring Boot 1.4.2
  • switch to Camunda BPM 7.6.0

Besides those internal enhancements, we worked on stability, convenience and support of the enterprise edition.

What’s new?

Let’s have a quick look at the main improvements. For the full list of changes, check the Release Milestone.

Features

  • Bill of Material
    Instead of adding all different extension modules separately, you can now import camunda-bpm-spring-boot-starter-bom in your dependencyManagement.
  • Testing
    The new camunda-bpm-spring-boot-starter-test module bundles useful testing components like camunda-bpm-mockito and camunda-bpm-assert. Together with the powerful spring-boot 1.4 testing tools, this will probably be the only test-scope import you need.
  • Webjar/EE
    We introduced a maven-plugin that allows integrating the Camunda Webapp in a convenient way. So you no longer need to provide a custom webjar project when you are using the Camunda Enterprise edition.
  • Provisioning
    When testing locally, you can now start your Camunda application with a predefined admin user, empty tasklist-filter and inserted license-key (Enterprise edition). This reduces roundtrip times during development.
  • Job Execution
    Threadpool-size and retry-cycle can now be configured via application properties.
  • Process Application
    With the new @EnableProcessApplication annotation you can now turn your application in a Camunda process application without extending any super-classes.
    We highly recommend activating this and let Camunda handle the process deployment via processes.xml. There were several issues with the Spring classpath scanning used when providing deploymentResources in the past.
  • Camunda 7.6.0
    We decided to switch to the latest Camunda version. There have been several enhancements and fixes in the core of the Platform that simplifies the modularization and context setup we need for the starter.
    This means: when you want to use the Spring-Boot starter 2.0.0, you will have to switch to 7.6.0 as well.

How to use it?

As always, the extension is published on Maven Central, so if you are using Maven, just add the dependency. Mind the new groupId and consider using the BOM.

<dependency>
  <groupId>org.camunda.bpm.extension.springboot</groupId>
  <artifactId>camunda-bpm-spring-boot-starter([-rest|-webapp])</artifactId>
  <version>2.0.0</version>
</dependency>

and then create a simple process application like this one:

// note that when using the ProcessApplication, you still need
// an empty processes.xml under src/main/resources/META-INF!
@SpringBootApplication
@EnableProcessApplication
public class WebappExampleProcessApplication  {

  public static void main(String[] args) {
    SpringApplication.run(WebappExampleProcessApplication.class, args);
  }

}

We enhanced documentation and examples, so make sure to checkout our GitHub pages.

Roadmap

Many cool ideas did not make it into this release, but we will for sure continue to work on them.
The main focus in the near future will be:

  • improving the webapp to follow the Spring-Boot webjar specification by putting the resources under META-INF/resources/webjars/camunda.
  • get rid of the empty processes.xml, all configuration should be done via application properties.
  • support multiple webapp-contexts so the Camunda Webapp and your custom application can run on the same Spring-Boot node.

Join us

Developing this extension is fun, but we could need some help! So if you are using the extension: share your thoughts, if you discover problems or have great enhancement ideas: file an issue on GitHub or even provide a pull request. Or just chat with us, we have our own channel in the camunda-forum!

Try All Features of Camunda

Related Content

We're streamlining Camunda product APIs, working towards a single REST API for many components, simplifying the learning curve and making installation easier.
Learn about our approach to migration from Camunda 7 to Camunda 8, and how we can help you achieve it as quickly and effectively as possible.
We've been working hard to reduce the job activation latency in Zeebe. Read on to take a peek under the hood at how we went about it and then verified success.