SlideShare a Scribd company logo
2
Most read
7
Most read
Batch Processing
Mule possesses the ability to process messages in batches. Within
an application, you can initiate a batch job which is a block of code
that splits messages into individual records, performs actions upon
each record, then reports on the results and potentially pushes the
processed output to other systems or queues. This functionality is
particularly useful when working with streaming input or when
engineering "near real-time" data integration between SaaS
applications.
• For example, batch processing is particularly useful
when working with the following scenarios:
• integrating data sets, small or large, streaming or not,
to parallel process records
• synchronizing data sets between business applications,
such as syncing contacts between Netsuite and
Salesforce, effecting "near real-time"data integration
• extracting, transforming and loading (ETL) information
into a target system, such as uploading data from a flat
file (CSV) to Hadoop
• handling large quantities of incoming data from an API
into a legacy system
• A batch job is a top-level element in Mule
which exists outside all Mule flows. Batch jobs
split large messages into records which Mule
processes asynchronously in a batch job; just
as flows process messages, batch jobs process
records.
• A batch job contains one or more batch steps which, in
turn, contain any number of message processors that
act upon records as they move through the batch job.
During batch processing, you can use record-level
variables (recordVars) and MEL expressions to enrich,
route or otherwise act upon records.
• The heart of Mule’s batch processing functionality lies
within the batch job. In an application, the batch job
element exists outside the context of any regular Mule
flow. It is a block of code which contains one or
more batch steps which, as the label implies, process
items step-by-step in a sequential order.
Create a project bacth_processing
Drag the batch into palette
Drag DB component and specify
connectivity
Batch processing
XML Here
output
Batch Job vs. Batch Job Instance
•
• Though defined in context above, it’s worth elaborating upon the
terms batch job and batch job instance as they relate to each other.
• A batch job is the top-level element in an application in which Mule
processes a message payload as a batch of records. The term batch
job is inclusive of all four phases of processing: Input, Load and
Dispatch, Process, and On Complete.
• A batch job instance is an occurrence in a Mule application
resulting from the execution of a batch job in a Mule flow; Mule
creates the batch job instance in the Load and Dispatch, and
persists eternally.

More Related Content

PPTX
Common Gateway Interface ppt
PDF
OLAP in Data Warehouse
PPTX
BPMN Introduction
PPTX
Text MIning
PDF
Service-Oriented Architecture (SOA)
PPTX
ODP
Software Measurement: Lecture 1. Measures and Metrics
Common Gateway Interface ppt
OLAP in Data Warehouse
BPMN Introduction
Text MIning
Service-Oriented Architecture (SOA)
Software Measurement: Lecture 1. Measures and Metrics

What's hot (20)

PPTX
Unified process model
PDF
Introduction to column oriented databases
PPTX
Data Mining: Outlier analysis
PPTX
Client & server side scripting
PPTX
Apache HBase™
PPTX
Map Reduce
PPTX
Introduction to Apache Spark
PDF
Big Data Analytics using Mahout
PPTX
Association rule mining.pptx
PPTX
introduction to NOSQL Database
PPTX
User interface design
PDF
Business Process Modeling
PDF
Parquet - Data I/O - Philadelphia 2013
PPT
Quality Management in Software Engineering SE24
PPTX
4+1 view model
PPTX
Hadoop And Their Ecosystem ppt
PDF
Incremental model
PPTX
Cs8791 cloud computing introduction new
PPT
4.2 spatial data mining
PPTX
Data Mining
Unified process model
Introduction to column oriented databases
Data Mining: Outlier analysis
Client & server side scripting
Apache HBase™
Map Reduce
Introduction to Apache Spark
Big Data Analytics using Mahout
Association rule mining.pptx
introduction to NOSQL Database
User interface design
Business Process Modeling
Parquet - Data I/O - Philadelphia 2013
Quality Management in Software Engineering SE24
4+1 view model
Hadoop And Their Ecosystem ppt
Incremental model
Cs8791 cloud computing introduction new
4.2 spatial data mining
Data Mining
Ad

Similar to Batch processing (20)

PPTX
Mule batch processing
PPT
Batch processing
PPT
Batch processing
PPT
Batch processing
PPTX
Mule concepts
PPTX
Mule chapter2
PPTX
Mule concepts
PDF
Anypoint Batch Processing and Polling Scope With Mulesoft
PPTX
Mule fundamentals
PPTX
Groovy example
PPTX
Database example
PPTX
Mule batch job
PPTX
Mule batch
PPT
Batch job processing
PPTX
Runing batch job in mule
PPTX
Srilekha mule esb
PPTX
Data Base Connector
PPT
Mule batch processing
PPT
Mule batch processing
PPT
Mule batch processing
Mule batch processing
Batch processing
Batch processing
Batch processing
Mule concepts
Mule chapter2
Mule concepts
Anypoint Batch Processing and Polling Scope With Mulesoft
Mule fundamentals
Groovy example
Database example
Mule batch job
Mule batch
Batch job processing
Runing batch job in mule
Srilekha mule esb
Data Base Connector
Mule batch processing
Mule batch processing
Mule batch processing
Ad

More from Ramakrishna kapa (20)

PPTX
Load balancer in mule
PPTX
Anypoint connectors
PPTX
Msmq connectivity
PPTX
Scopes in mule
PPTX
Data weave more operations
PPTX
Basic math operations using dataweave
PPTX
Dataweave types operators
PPTX
Operators in mule dataweave
PPTX
Data weave in mule
PPTX
Servicenow connector
PPTX
Introduction to testing mule
PPTX
Choice flow control
PPTX
Message enricher example
PPTX
Mule exception strategies
PPTX
Anypoint connector basics
PPTX
Mule global elements
PPTX
Mule message structure and varibles scopes
PPTX
How to create an api in mule
PPTX
Log4j is a reliable, fast and flexible
PPTX
Load balancer in mule
Anypoint connectors
Msmq connectivity
Scopes in mule
Data weave more operations
Basic math operations using dataweave
Dataweave types operators
Operators in mule dataweave
Data weave in mule
Servicenow connector
Introduction to testing mule
Choice flow control
Message enricher example
Mule exception strategies
Anypoint connector basics
Mule global elements
Mule message structure and varibles scopes
How to create an api in mule
Log4j is a reliable, fast and flexible

Recently uploaded (20)

PDF
Advanced IT Governance
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Cloud computing and distributed systems.
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
Teaching material agriculture food technology
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Advanced IT Governance
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
20250228 LYD VKU AI Blended-Learning.pptx
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25 Week I
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Empathic Computing: Creating Shared Understanding
Network Security Unit 5.pdf for BCA BBA.
Cloud computing and distributed systems.
GamePlan Trading System Review: Professional Trader's Honest Take
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Per capita expenditure prediction using model stacking based on satellite ima...
Teaching material agriculture food technology
Advanced Soft Computing BINUS July 2025.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Advanced methodologies resolving dimensionality complications for autism neur...

Batch processing

  • 1. Batch Processing Mule possesses the ability to process messages in batches. Within an application, you can initiate a batch job which is a block of code that splits messages into individual records, performs actions upon each record, then reports on the results and potentially pushes the processed output to other systems or queues. This functionality is particularly useful when working with streaming input or when engineering "near real-time" data integration between SaaS applications.
  • 2. • For example, batch processing is particularly useful when working with the following scenarios: • integrating data sets, small or large, streaming or not, to parallel process records • synchronizing data sets between business applications, such as syncing contacts between Netsuite and Salesforce, effecting "near real-time"data integration • extracting, transforming and loading (ETL) information into a target system, such as uploading data from a flat file (CSV) to Hadoop • handling large quantities of incoming data from an API into a legacy system
  • 3. • A batch job is a top-level element in Mule which exists outside all Mule flows. Batch jobs split large messages into records which Mule processes asynchronously in a batch job; just as flows process messages, batch jobs process records.
  • 4. • A batch job contains one or more batch steps which, in turn, contain any number of message processors that act upon records as they move through the batch job. During batch processing, you can use record-level variables (recordVars) and MEL expressions to enrich, route or otherwise act upon records. • The heart of Mule’s batch processing functionality lies within the batch job. In an application, the batch job element exists outside the context of any regular Mule flow. It is a block of code which contains one or more batch steps which, as the label implies, process items step-by-step in a sequential order.
  • 5. Create a project bacth_processing
  • 6. Drag the batch into palette
  • 7. Drag DB component and specify connectivity
  • 11. Batch Job vs. Batch Job Instance • • Though defined in context above, it’s worth elaborating upon the terms batch job and batch job instance as they relate to each other. • A batch job is the top-level element in an application in which Mule processes a message payload as a batch of records. The term batch job is inclusive of all four phases of processing: Input, Load and Dispatch, Process, and On Complete. • A batch job instance is an occurrence in a Mule application resulting from the execution of a batch job in a Mule flow; Mule creates the batch job instance in the Load and Dispatch, and persists eternally.