Stop the continuation of a flow within a devkit @processor

81 Views Asked by At

Is there an agreed upon way to stop the continuation of a flow within a devit @processor method? I want it to behave like a filter, where the message is dropped.

1

There are 1 best solutions below

0
On BEST ANSWER

Yes: define it as an intercepting processor.

@Processor(intercepting = true)
public Something foo(..., final SourceCallback sourceCallback)