Execution order for Listeners

Hello there,

Let say, I have several ExecutionListeners (all event=“end”) attached to the same Task.
Is the execution sequence guaranteed in the oder they are appeared in BMPN XML?

<userTask id="secondTask">
      <extensionElements>
        <camunda:executionListener expression="${myPojo.myMethod1(execution.eventName)}" event="end" />
        <camunda:executionListener expression="${myPojo.myMethod2(execution.eventName)}" event="end" />
      </extensionElements>
    </userTask>

Since no explicit sign of the order is used, I would assume this is not guaranteed.
What would be the correct way to ensure that myMethod1() is called before myMethod2()?

Listeners execution order was not guaranteed, if you want to execute the listeners in specific order, then you may have to implement Composite Design pattern.

Using composite design pattern doesn’t allow to use Field-Injection for composed listeners. Are there other variants available? Is this a case for a feature request?