BPXE.Engine.PrecedenceGateway (bpxe v0.1.0)
Note: This gateway is not described in BPMN 2.0. Currently it can only be added programmatically (not through BPMN XML document, at this time)
This gateway will only process the first instance of a received message
(tracked by message_id) and send it out to a corresponding output. The
correspondance is achieved by requiring the same number of incoming and
outgoing sequence flows. Outgoing sequence flows have to have an additional
option {BPXE.BPMN.ext_spec(), "correspondsTo"}
set to the name of the
outgoing sequence flow.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Link to this section Functions
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
enter_loop(state)
flow_node?()
handle_completion(state)
handle_message(arg, state)
handle_recovery(recovered, state)
init(arg)
Callback implementation for GenServer.init/1
.