Difference between Intermediate Throwing message events and Send Task

I have a task in which I would like to publish message on Rabbitmq.
Which is the best activity to choose.

Should i use a Send Task or should I go with Intermediate throw message events?

@aravindhrs @Niall

1 Like

@Mass_Shake, You can use either of this. But there’s some differences in usability in terms of limitations.

If you use Message events, you can’t attach any boundary events to the intermediate events. But incase of SendTask, you can push the message to the queue/topic also provides the ability to attach interrupting/non-interrupting boundary events. So in that case you can add extra features and have better control over it when some event occurs.

From below example, i can attach boundary events to send task, but not able to attach it to intermediate events.



Thanks Aravind. Thanks for making it clear