Camunda java rest client

1,154 views
Skip to first unread message

victor.io...@gmail.com

unread,
Feb 16, 2015, 6:01:21 AM2/16/15
to camunda-...@googlegroups.com
Hi guys,

So I've been looking into using Camunda as a workflow engine. Everything nice and dandy, installed it on tomcat & co and everything working fine.

The problem is that I can't find a java rest client for Camunda. I could see there are js & php clients however I could not find the java one.

So my Camunda installation is running on a server and I want to create new instances & operate on existing ones using REST.

My question is do I need to implement the whole REST API myself or is there a solution out there which already does this?

Kind regads,
Victor

Christian Lipphardt

unread,
Feb 16, 2015, 7:21:57 AM2/16/15
to camunda-...@googlegroups.com, victor.io...@gmail.com
Hi Victor,

There is currently no official Camunda BPM java rest client available.
However, people are using the camunda-engine-rest classes together with RestEasy / Apache CXF and implement a client using their rest api proxy client feature.
See [1] for RestEasy or [2] for Apache CXF as an example how to do this.

To just get the rest api classes, import following dependency:

<dependency>
  <groupId>org.camunda.bpm</groupId>
  <artifactId>camunda-engine-rest</artifactId>
  <classifier>classes</classifier>
  <version>7.2.0</version>
</dependency>

[1]: http://docs.jboss.org/resteasy/docs/3.0.9.Final/userguide/html_single/index.html#d4e2143
[2]: https://cxf.apache.org/docs/jax-rs-client-api.html

Cheers,
Christian

victor.io...@gmail.com

unread,
Feb 16, 2015, 9:06:58 AM2/16/15
to camunda-...@googlegroups.com, victor.io...@gmail.com
Hi Christian,

Thank you for the quick reply. I think I will go for the resteasy approach.

Kind regards,
Victor
Reply all
Reply to author
Forward
0 new messages