This Bakes a new instance of the recipe
This Bakes a new instance of the recipe
process id
Returns the compiled recipe
Returns the compiled recipe
The compiled recipe.
Get all events that have occurred for a given process
Get all events that have occurred for a given process
the identifier of the process
Get all events that have occurred for a given process
Get all events that have occurred for a given process
the identifier of the process
the maximum wait time
Gets all the ingredients that are created in a given model
Gets all the ingredients that are created in a given model
the identifier of the process
Gets all the ingredients that are created in a given model
Gets all the ingredients that are created in a given model
the identifier of the process
the maximum wait time
returns the visual state of the recipe in dot format with a default timeout of 20 seconds
Returns the visual state of the recipe in dot format
Returns the visual state of the recipe in dot format
The process identifier
This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker
This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker
the identifier of the process
The event to fire
This fires the given event in the recipe for the process with the given processId This returns a JBaker response which is a future.
This fires the given event in the recipe for the process with the given processId This returns a JBaker response which is a future.
the identifier of the process
The event to fire
Registers a listener to all runtime events for this baker instance.
Registers a listener to all runtime events for this baker instance.
Note that:
- The delivery guarantee is *AT MOST ONCE*. Practically this means you can miss events when the application terminates (unexpected or not). - The delivery is local (JVM) only, you will NOT receive events from other nodes when running in cluster mode.
Because of these constraints you should not use an event listener for critical functionality. Valid use cases might be:
- logging - metrics - unit tests - ...
The listener to subscribe to events.
Attempts to gracefully shutdown the baker system.
Attempts to gracefully shutdown the baker system.
Attempts to gracefully shutdown the baker system.
The time to wait for the shard handover.