You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
To trace a processing flow to a workflow graph one has to enable tracing via FlowBuilder.propagateFlowIds(true) and either use FlowMessage or implement the interface ?HasFlowId. This is complicated, as the information if tracing is desired is distributed (flag and interface). There are also multiple ways to use tracing in a message class (use FlowMessageorHasFlowId) with the less recommended approach beeing the most visible one (using FlowMessagemeans for most people just to useDefaultMessage`).
Solution
For tracing
check if incoming and outgoing messages implement TraceableMessage
check if incoming message has a value for flow id and set that for the outgoing message
Problem
To trace a processing flow to a workflow graph one has to enable tracing via
FlowBuilder.propagateFlowIds(true)
and either useFlowMessage
or implement the interface ?HasFlowId. This is complicated, as the information if tracing is desired is distributed (flag and interface). There are also multiple ways to use tracing in a message class (use
FlowMessageor
HasFlowId) with the less recommended approach beeing the most visible one (using
FlowMessagemeans for most people just to use
DefaultMessage`).Solution
For tracing
TraceableMessage
Remove old tracing mechanisms:
FlowMessage
as suggested in Replace FlowMessage by TraceableMessage #147HasFlowId
Questions
Can we have sanity checks if both incoming and outgoing message types are traceable messages on application start?
The text was updated successfully, but these errors were encountered: