SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Quartz Component In Mule Demo
Abstract
• The main motto of this PPT is how to use
Quartz component in our applications.
Introduction
• Quartz is a open source job scheduling
framework, that let you scheduler a task to
run on a predefine date and time.
Example
• hello world example
• .mflow
• <?xml version="1.0" encoding="UTF-8"?>
• <mule xmlns:quartz="http://www.mulesoft.org/schema/mule/quartz"
xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-current.xsd
• http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
• http://www.mulesoft.org/schema/mule/quartz
http://www.mulesoft.org/schema/mule/quartz/current/mule-quartz.xsd">
• <flow name="QuartzUsageFlow1" doc:name="QuartzUsageFlow1">
• <quartz:inbound-endpoint jobName="myquartz" repeatInterval="10000"
responseTimeout="10000" doc:name="Quartz">
• <quartz:event-generator-job/>
• </quartz:inbound-endpoint>
• <logger message="--Hello world--" level="INFO" doc:name="Logger"/>
• </flow>
• </mule>
• Output:
• Flow of execution:
1. Service will trigger for every 10sec
2. Service will display a message called ‘Hello
world’
Benefits
• Quartz can run embedded within another free
standing application
• Quartz can be instantiated within an application
server (or servlet container), and participate in XA
transactions
• Quartz can run as a stand-alone program (within
its own Java Virtual Machine), to be used via RMI
• Quartz can be instantiated as a cluster of stand-
alone programs (with load-balance and fail-over
capabilities) for the execution of jobs
References
• https://developer.mulesoft.com/docs/display/
current/Quartz+Transport+Reference

Weitere ähnliche Inhalte

Was ist angesagt? (12)

Expression filter in Mule
Expression filter in MuleExpression filter in Mule
Expression filter in Mule
 
Groovy example in mule
Groovy example in muleGroovy example in mule
Groovy example in mule
 
Mule quartz hari_gatadi
Mule quartz hari_gatadiMule quartz hari_gatadi
Mule quartz hari_gatadi
 
Mule esb add logger to existing flow
Mule esb add logger to existing flowMule esb add logger to existing flow
Mule esb add logger to existing flow
 
Mulesoft Using Groovy Component
Mulesoft Using Groovy ComponentMulesoft Using Groovy Component
Mulesoft Using Groovy Component
 
Filter expression in mule
Filter expression in muleFilter expression in mule
Filter expression in mule
 
Message properties component in mule demo
Message properties component in mule demoMessage properties component in mule demo
Message properties component in mule demo
 
Mule ESB SMTP Connector Integration
Mule ESB SMTP Connector  IntegrationMule ESB SMTP Connector  Integration
Mule ESB SMTP Connector Integration
 
Spring introduction
Spring introductionSpring introduction
Spring introduction
 
Send email attachment using smtp in mule esb
Send email attachment using smtp in mule esbSend email attachment using smtp in mule esb
Send email attachment using smtp in mule esb
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
 
Maven introduction in Mule
Maven introduction in MuleMaven introduction in Mule
Maven introduction in Mule
 

Andere mochten auch

Pulmonary anat phys lung scint principles
Pulmonary anat phys lung scint principlesPulmonary anat phys lung scint principles
Pulmonary anat phys lung scint principles
ljmcneill33
 
Introducción de la mitosis
Introducción de la mitosisIntroducción de la mitosis
Introducción de la mitosis
Jessy Cct
 
Superestructura presentación
Superestructura presentaciónSuperestructura presentación
Superestructura presentación
Lero Rangel
 

Andere mochten auch (19)

Mule soap
Mule soapMule soap
Mule soap
 
Isabella Perceval Maxwell Resume (3)
Isabella Perceval Maxwell Resume (3)Isabella Perceval Maxwell Resume (3)
Isabella Perceval Maxwell Resume (3)
 
О результатах контрольных мероприятий, проводимых в период с 11 по 17 мая ...
О результатах  контрольных мероприятий,  проводимых в период  с 11 по 17 мая ...О результатах  контрольных мероприятий,  проводимых в период  с 11 по 17 мая ...
О результатах контрольных мероприятий, проводимых в период с 11 по 17 мая ...
 
Citologia general bueno
Citologia general buenoCitologia general bueno
Citologia general bueno
 
Biología y Conducta
Biología y ConductaBiología y Conducta
Biología y Conducta
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
08 patocchi
08 patocchi08 patocchi
08 patocchi
 
Aproximación a la ira ruth lezama
Aproximación a la  ira  ruth lezamaAproximación a la  ira  ruth lezama
Aproximación a la ira ruth lezama
 
Pulmonary anat phys lung scint principles
Pulmonary anat phys lung scint principlesPulmonary anat phys lung scint principles
Pulmonary anat phys lung scint principles
 
Caminando con la comunidad. Evaluación de la efectividad del protocolo promoc...
Caminando con la comunidad. Evaluación de la efectividad del protocolo promoc...Caminando con la comunidad. Evaluación de la efectividad del protocolo promoc...
Caminando con la comunidad. Evaluación de la efectividad del protocolo promoc...
 
Memorandum de amostecion
Memorandum de amostecionMemorandum de amostecion
Memorandum de amostecion
 
Introducción de la mitosis
Introducción de la mitosisIntroducción de la mitosis
Introducción de la mitosis
 
Refreshing mule cache using oracle database change notification
Refreshing mule cache using oracle database change notificationRefreshing mule cache using oracle database change notification
Refreshing mule cache using oracle database change notification
 
Farmacología de la ventilación mecánica
Farmacología de la ventilación mecánicaFarmacología de la ventilación mecánica
Farmacología de la ventilación mecánica
 
Algoritmos ERC 2015
Algoritmos ERC 2015Algoritmos ERC 2015
Algoritmos ERC 2015
 
Potencial de membrana en reposo y potencial de acción. Guía para tercero medi...
Potencial de membrana en reposo y potencial de acción. Guía para tercero medi...Potencial de membrana en reposo y potencial de acción. Guía para tercero medi...
Potencial de membrana en reposo y potencial de acción. Guía para tercero medi...
 
Superestructura presentación
Superestructura presentaciónSuperestructura presentación
Superestructura presentación
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
 
Piel
PielPiel
Piel
 

Ähnlich wie Quartz component in mule

Ähnlich wie Quartz component in mule (20)

How to use quartz component
How to use quartz componentHow to use quartz component
How to use quartz component
 
Quartz component
Quartz componentQuartz component
Quartz component
 
Message properties component
Message properties component Message properties component
Message properties component
 
Message properties component
Message properties componentMessage properties component
Message properties component
 
Message properties component in mule
Message properties component in muleMessage properties component in mule
Message properties component in mule
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
Mule Message Properties Component
Mule Message Properties ComponentMule Message Properties Component
Mule Message Properties Component
 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
 
Filter expression
Filter expression Filter expression
Filter expression
 
Filter expression in mule
Filter expression in muleFilter expression in mule
Filter expression in mule
 
Filter expression
Filter expression Filter expression
Filter expression
 

Mehr von javeed_mhd

Mehr von javeed_mhd (20)

For each component in mule
For each component in muleFor each component in mule
For each component in mule
 
File component in mule
File component in muleFile component in mule
File component in mule
 
Database component in mule
Database component in muleDatabase component in mule
Database component in mule
 
Choice component in mule
Choice component in muleChoice component in mule
Choice component in mule
 
Vm component in mule
Vm component in muleVm component in mule
Vm component in mule
 
Mule management console installation
Mule management console installation Mule management console installation
Mule management console installation
 
Mule esb made system integration easy
Mule esb made system integration easy Mule esb made system integration easy
Mule esb made system integration easy
 
How to install sonarqube plugin in anypoint
How to install sonarqube plugin in anypoint How to install sonarqube plugin in anypoint
How to install sonarqube plugin in anypoint
 
How to commit a project in svn using svn plugin in anypointstudio
How to commit a project in svn using svn plugin in anypointstudioHow to commit a project in svn using svn plugin in anypointstudio
How to commit a project in svn using svn plugin in anypointstudio
 
Mapping and listing with mule
Mapping and listing with mule Mapping and listing with mule
Mapping and listing with mule
 
Mule any point exchange
Mule any point exchangeMule any point exchange
Mule any point exchange
 
Mule esb api layer
Mule esb api layer Mule esb api layer
Mule esb api layer
 
Mule Maven Plugin
Mule Maven PluginMule Maven Plugin
Mule Maven Plugin
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Presentation
PresentationPresentation
Presentation
 
Scatter gather in mule
Scatter gather in muleScatter gather in mule
Scatter gather in mule
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
 
Maven
MavenMaven
Maven
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Quartz component in mule

  • 2. Abstract • The main motto of this PPT is how to use Quartz component in our applications.
  • 3. Introduction • Quartz is a open source job scheduling framework, that let you scheduler a task to run on a predefine date and time.
  • 5. • .mflow • <?xml version="1.0" encoding="UTF-8"?> • <mule xmlns:quartz="http://www.mulesoft.org/schema/mule/quartz" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd • http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd • http://www.mulesoft.org/schema/mule/quartz http://www.mulesoft.org/schema/mule/quartz/current/mule-quartz.xsd"> • <flow name="QuartzUsageFlow1" doc:name="QuartzUsageFlow1"> • <quartz:inbound-endpoint jobName="myquartz" repeatInterval="10000" responseTimeout="10000" doc:name="Quartz"> • <quartz:event-generator-job/> • </quartz:inbound-endpoint> • <logger message="--Hello world--" level="INFO" doc:name="Logger"/> • </flow> • </mule>
  • 7. • Flow of execution: 1. Service will trigger for every 10sec 2. Service will display a message called ‘Hello world’
  • 8. Benefits • Quartz can run embedded within another free standing application • Quartz can be instantiated within an application server (or servlet container), and participate in XA transactions • Quartz can run as a stand-alone program (within its own Java Virtual Machine), to be used via RMI • Quartz can be instantiated as a cluster of stand- alone programs (with load-balance and fail-over capabilities) for the execution of jobs