Having a gateway right after a receive task

Hi,

I’d like to know if it is correct (even from the perspective of best practices) to have a gateway right after a receive task.

E.g,
Capture

Thank you in advance.

Why not? What should be broken about this?

Hi Nikku,
Thank you for your response.
I was wondering if it is mandatory to have an activity after the receiving activity, which denotes “process the message”.
But as you saying, it seems it is completely optional.