Reputation: 87
Hi i have started working with Mule Anypoint Studio and would like to know what are the different stages of a basic Mule Event. Like how does mule start and stop a particular event in a flow. Also how a flow gets initialised.
Upvotes: 0
Views: 543
Reputation: 297
The mule event can not be compare as a "life cycle" bean as the behaviour is completely different.
A Mule Event is created when a message source is trigger by any action , this action outputs a message. The event contain this message inside.
When the event pass through a different number of processors, you just modify the data in that message.
If the transport you are using is based on request-response transport, the same event continues in the same thread.
Is it possible to create new events / copy the event into another one (scatter-gather), etc..
But there is nothing like lifecycle in a MuleEvent , event is created, processed and it ends when the process is completed.
Upvotes: 2