Process Modeling Question

I have a process with 3 steps.

The first step will register for messages in rabbitmq.

the second step will connect to rabbitmq and start listening to messages received (asynchronous)

What I want is to be able to execute the 3rd task whenever a message is received from rabbitmq. 

How to model that?