0

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.

Nikos
  • 7,295
  • 7
  • 52
  • 88

1 Answers1

3

Yes: define it as an intercepting processor.

@Processor(intercepting = true)
public Something foo(..., final SourceCallback sourceCallback)
David Dossot
  • 33,403
  • 4
  • 38
  • 72