I have a route like this:
[producer1]--->[blocker]--->
|--->[aggregator]---> [consumer]
[producer2]---------------->
Producer1
and producer2
are pushing messages to the aggregator
. If there are two messages with the same id then the aggregation is completed and the aggregated message will be routed to a consumer.
Is it possible to block the route after the producer1
sends a message to the aggregator
? Something like wait until the consumer receives the aggregated message
.