Message End Event with Java Class Implementation

I have a question - can we model a message end event with java class implementation as we do with service task using fluent builder api to generate bpmn.

I am not getting attribute like messageEventDefinition().camundaClass(“ClassName”); unlike serviceTaskBuilder.camundaClass(“ClassName”).

I am able to do that using modeler but not getting option in Fluent Builder API.

Hi @PrashantD,

Currently #camundaClass() is not exposed for messageEventDefinition() to the model API.
Feel free to open a ticket or submit a pull request.

1 Like

Hi @Yana can we add below extension elements in callactivity using Fluent Builder API?

<camunda:in variables=“all” />
<camunda:out variables=“all” />

I am getting only option as .camundaIn(source, target) not all.