SlideShare a Scribd company logo
Mule ESB
Payload and Logger
• Open Anypoint Studio
• Let’s open our ‘myfirstproject’
• Open Message Flow
• 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
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
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!

More Related Content

PPTX
Mule message enricher
PPTX
Mule ESB - How to convert from Xml to Json in 5 minutes
PPTX
Mule esb How to convert from Json to Xml in 5 minutes
PPTX
Accessing jms in mule using groovy
PPTX
Creating dynamic json in Mule
 
PPTX
Mule esb lesson 2
PPTX
Timer Interceptor in Mule
PPTX
Accessing Mule variables in groovy
Mule message enricher
Mule ESB - How to convert from Xml to Json in 5 minutes
Mule esb How to convert from Json to Xml in 5 minutes
Accessing jms in mule using groovy
Creating dynamic json in Mule
 
Mule esb lesson 2
Timer Interceptor in Mule
Accessing Mule variables in groovy

What's hot (13)

PPTX
Stored procedure in Mule
PPTX
Scatter and gather in mule
PPTX
Deploying and Running in Mule
PDF
Weblogic as a windows service
PPTX
Running mule standalone
PPTX
Mule quartz
PPTX
Groovy with Mule
PPTX
Getting anypoint studios all versions
PPTX
Idempotent filter in Mule
 
PPTX
Mule esb add logger to existing flow
PPTX
Mule esb - How to use Idempotent Filters in 5 minutes
PPTX
Groovy in Mule
PPTX
Initialize database in Mule part2
Stored procedure in Mule
Scatter and gather in mule
Deploying and Running in Mule
Weblogic as a windows service
Running mule standalone
Mule quartz
Groovy with Mule
Getting anypoint studios all versions
Idempotent filter in Mule
 
Mule esb add logger to existing flow
Mule esb - How to use Idempotent Filters in 5 minutes
Groovy in Mule
Initialize database in Mule part2
Ad

Viewers also liked (11)

PPTX
Simple interact between http and java components
PPTX
Csv to xml transformation
PPTX
Ws through raml
PPTX
Json to json esb transformation
PPTX
Xml to xml transformation in mule
PPTX
Mule esb httpflow
PPTX
Json to xml esb transformation
PPTX
File tostring conversion
PPTX
Xml toobjectesbtransform
PPTX
Simple service rest
PPTX
Symple io flow
Simple interact between http and java components
Csv to xml transformation
Ws through raml
Json to json esb transformation
Xml to xml transformation in mule
Mule esb httpflow
Json to xml esb transformation
File tostring conversion
Xml toobjectesbtransform
Simple service rest
Symple io flow
Ad

Similar to Payload and logger (20)

PPTX
Mule esb lesson 3
PPTX
Example esb file-to-string flow
PPTX
Input and output flow with logger component
PPTX
Input and output flow using file to string and logger component
PPTX
Mule management console installation with Tomcat
PPTX
Mule management console
PPTX
Mule management console installation
PPTX
Mule management console installation
 
PPTX
Mule esb lesson 1
PPTX
Input and output flow using file and logger component
PPTX
Mule io flow
PPTX
Example esb flow
PPTX
Example esb flow
PPTX
Introduce anypoint studio
PPTX
My mule esb flow
PPTX
Deploying and running in mule standalone
PPTX
Deploying and running in mule standalone
PPTX
Deploying and running in mule standalone
PDF
mule basics
PDF
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit
Mule esb lesson 3
Example esb file-to-string flow
Input and output flow with logger component
Input and output flow using file to string and logger component
Mule management console installation with Tomcat
Mule management console
Mule management console installation
Mule management console installation
 
Mule esb lesson 1
Input and output flow using file and logger component
Mule io flow
Example esb flow
Example esb flow
Introduce anypoint studio
My mule esb flow
Deploying and running in mule standalone
Deploying and running in mule standalone
Deploying and running in mule standalone
mule basics
Privileges Escalation by Exploiting Client-Side Vulnerabilities Using Metasploit

Recently uploaded (20)

PPT
Introduction Database Management System for Course Database
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
System and Network Administration Chapter 2
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
AI in Product Development-omnex systems
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
ai tools demonstartion for schools and inter college
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
top salesforce developer skills in 2025.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
medical staffing services at VALiNTRY
PDF
Understanding Forklifts - TECH EHS Solution
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Introduction to Artificial Intelligence
Introduction Database Management System for Course Database
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administration Chapter 2
Design an Analysis of Algorithms II-SECS-1021-03
Odoo POS Development Services by CandidRoot Solutions
AI in Product Development-omnex systems
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
VVF-Customer-Presentation2025-Ver1.9.pptx
ai tools demonstartion for schools and inter college
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Navsoft: AI-Powered Business Solutions & Custom Software Development
top salesforce developer skills in 2025.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Which alternative to Crystal Reports is best for small or large businesses.pdf
medical staffing services at VALiNTRY
Understanding Forklifts - TECH EHS Solution
How to Choose the Right IT Partner for Your Business in Malaysia
ManageIQ - Sprint 268 Review - Slide Deck
Introduction to Artificial Intelligence

Payload and logger

  • 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!