Custom Tracking in Mulesoft

In this walk through, we would explorer on how to track business milestones and information in  mule application. 

Let develop a simple mule flow that receives a order request in json and does something processing and acknowledges back the client with ack. 
 In order to track certain business events, we can use custom tracking components,lets use a message enricher to do the custom tracking, this would avoid unnecessary updates to original payload content. Inside message enricher, we will have processor chain which would contain Json To Object transformer, Custom Tracking and a Logger.
Drag and drop a Custom Business Event and configure the metadata from the properties as shown below
 Here is the complete mule flow
Run the project and test the mule application, Business Event aren't logged in the console but these are visible in MMC Business Event Tab.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.