2. • Open Anypoint Studio
• Let’s open our ‘myfirstproject’
• Open Message Flow
3. • Search for «logger» and select the first one inside Mule Palette.
• Drag and Drop Logger into Message Flow view, after Set Payload.
• Let’s configure our log message. In this example we keep a prefix and then the payload message (configured in SetPayload block):
• #[‘Settaggio payload: '+payload]
• Click on save at Left of screen
4. Start Mule server
Right Click on myfirstproject Run As Mule Application
On the Console view below server is going to start
At the end you will see the status DEPLOYED
5. Open Web Browser (IE, Chrome)
and invoke the service endpoint:
http://localhost:8081/myfirstFlo
w
On Console, there is the log
message composed before.
The part highlighted is our custom
message and payload
Go Mule, go!