SlideShare a Scribd company logo
How to use Wildcard Filter
12-12-2014
Abstract
• The main motto of this PPT is How to use
Wildcard Filter in our applications.
Introduction
• The Wildcard filter applies a wildcard pattern
to the message payload.
Example
.mflow
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:http="http://www.mulesoft.org/schema/mule/http"
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/http
http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd">
<flow name="WildcardFilterFlow1" doc:name="WildcardFilterFlow1">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8092"
path="WildcardFilter" doc:name="HTTP"/>
<logger message="--Entered into the flow" level="INFO" doc:name="Logger"/>
<set-payload value="Hello MuleSoft" doc:name="Set Payload"/>
<wildcard-filter pattern="*m*" caseSensitive="false" doc:name="Wildcard"/>
<logger message="--Success" level="INFO" doc:name="Logger"/>
</flow>
</mule>
• Output:
INFO 2015-12-12 12:03:47,939 [[WildcardFilter].config.change.6.thread.1]
org.mule.DefaultMuleContext:
**********************************************************************
* Application: WildcardFilter *
* OS encoding: Cp1252, Mule encoding: UTF-8 *
* *
* Agents Running: *
* Clustering Agent *
* JMX Agent *
**********************************************************************
INFO 2015-12-12 12:03:47,940 [[WildcardFilter].config.change.6.thread.1]
org.mule.module.launcher.MuleDeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'WildcardFilter' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-12-12 12:03:54,271 [[WildcardFilter].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --Entered into the flow
INFO 2015-12-12 12:03:54,272 [[WildcardFilter].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --Success
• Flow of execution:
1. URL to trigger the service from browser
http://localhost:8092/WildcardFilter
2. Wildcard filter checks whether the given
payload contains ‘m’ or not?, if yes, it will print a
message ‘Success’, else it will not go further.
References
• https://docs.mulesoft.com/mule-user-
guide/v/3.7/filters

More Related Content

PPTX
How to use expression filter
PPTX
PPTX
How to use not filter
PPTX
Wildcard Filter
PPTX
How to use data weave
PPTX
How to use message properties component
PPTX
PPTX
Expression filter in Mule
How to use expression filter
How to use not filter
Wildcard Filter
How to use data weave
How to use message properties component
Expression filter in Mule

What's hot (11)

PPTX
Database Component
PPTX
PPTX
Message properties component in Mule
PPTX
Database component in mule
PPTX
Message properties component in mule
PPTX
Bean as Datasource
PPTX
How to use bean as datasource in database connector
PPTX
How to use data mapper transformer
PPTX
How to use data mapper transformer
PPTX
Jms selector
ODP
Howtouseforeachcomponent
Database Component
Message properties component in Mule
Database component in mule
Message properties component in mule
Bean as Datasource
How to use bean as datasource in database connector
How to use data mapper transformer
How to use data mapper transformer
Jms selector
Howtouseforeachcomponent
Ad

Viewers also liked (13)

PPTX
Dario andres rua tovar
PDF
2015年度秋学期 統計学 第1回 イントロダクション (2015. 9. 30)
DOCX
Kata pengantar
PDF
2015年度秋学期 統計学 第7回 データの関係を知る(2) ― 回帰と決定係数 (2015. 11. 18)
PDF
2015年度秋学期 統計学 第2回 統計資料の収集と読み方 (2015. 10. 7)
PDF
Team Talk Football 2
PDF
CEDA LNG Investment, First Gas & Beyond | Opening Remarks
PPTX
Why Digital Engagement is Good For Business
PPTX
How to use soap component
PDF
La ecuación de schrödinger
PPT
Erwin schrödinger
PDF
Ma english annual_system_new
PPTX
Vinacafe và sự nỗ lực khai mỏ chiến dịch này!
Dario andres rua tovar
2015年度秋学期 統計学 第1回 イントロダクション (2015. 9. 30)
Kata pengantar
2015年度秋学期 統計学 第7回 データの関係を知る(2) ― 回帰と決定係数 (2015. 11. 18)
2015年度秋学期 統計学 第2回 統計資料の収集と読み方 (2015. 10. 7)
Team Talk Football 2
CEDA LNG Investment, First Gas & Beyond | Opening Remarks
Why Digital Engagement is Good For Business
How to use soap component
La ecuación de schrödinger
Erwin schrödinger
Ma english annual_system_new
Vinacafe và sự nỗ lực khai mỏ chiến dịch này!
Ad

Similar to How to use wildcard filter (20)

PPTX
PPTX
PPTX
How to use and filter
PPTX
How to use expression filter
PPTX
How to use expression filter
PPTX
How to use expression filter
PPTX
How to use expression filter
PPTX
How to use expression filter
PPTX
Expression Filters
PPTX
How to use expression filter
PPTX
How to use expression filter
PPTX
How to use expression filter
PPTX
Custom filters in mule soft
PPTX
How to use or filter
PPTX
PPTX
Filter expression in mule demo
PPTX
Filter expression
 
PPTX
Filter expression
PPTX
Filter expression in mule
PPTX
Filter expression
How to use and filter
How to use expression filter
How to use expression filter
How to use expression filter
How to use expression filter
How to use expression filter
Expression Filters
How to use expression filter
How to use expression filter
How to use expression filter
Custom filters in mule soft
How to use or filter
Filter expression in mule demo
Filter expression
 
Filter expression
Filter expression in mule
Filter expression

More from RaviRajuRamaKrishna (7)

PPTX
Mock component in munit
PPTX
Jms selector
PPTX
PPTX
Object store
PPTX
How to use splitter component
PPTX
How to use rest component
PPTX
How to use salesforce cloud connector
Mock component in munit
Jms selector
Object store
How to use splitter component
How to use rest component
How to use salesforce cloud connector

Recently uploaded (20)

PDF
Computing-Curriculum for Schools in Ghana
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Computing-Curriculum for Schools in Ghana
Final Presentation General Medicine 03-08-2024.pptx
human mycosis Human fungal infections are called human mycosis..pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
O7-L3 Supply Chain Operations - ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
GDM (1) (1).pptx small presentation for students
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Module 4: Burden of Disease Tutorial Slides S2 2025
01-Introduction-to-Information-Management.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPH.pptx obstetrics and gynecology in nursing
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Anesthesia in Laparoscopic Surgery in India
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

How to use wildcard filter

  • 1. How to use Wildcard Filter 12-12-2014
  • 2. Abstract • The main motto of this PPT is How to use Wildcard Filter in our applications.
  • 3. Introduction • The Wildcard filter applies a wildcard pattern to the message payload.
  • 5. .mflow <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:http="http://www.mulesoft.org/schema/mule/http" 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/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd"> <flow name="WildcardFilterFlow1" doc:name="WildcardFilterFlow1"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8092" path="WildcardFilter" doc:name="HTTP"/> <logger message="--Entered into the flow" level="INFO" doc:name="Logger"/> <set-payload value="Hello MuleSoft" doc:name="Set Payload"/> <wildcard-filter pattern="*m*" caseSensitive="false" doc:name="Wildcard"/> <logger message="--Success" level="INFO" doc:name="Logger"/> </flow> </mule>
  • 6. • Output: INFO 2015-12-12 12:03:47,939 [[WildcardFilter].config.change.6.thread.1] org.mule.DefaultMuleContext: ********************************************************************** * Application: WildcardFilter * * OS encoding: Cp1252, Mule encoding: UTF-8 * * * * Agents Running: * * Clustering Agent * * JMX Agent * ********************************************************************** INFO 2015-12-12 12:03:47,940 [[WildcardFilter].config.change.6.thread.1] org.mule.module.launcher.MuleDeploymentService: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Started app 'WildcardFilter' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2015-12-12 12:03:54,271 [[WildcardFilter].connector.http.mule.default.receiver.02] org.mule.api.processor.LoggerMessageProcessor: --Entered into the flow INFO 2015-12-12 12:03:54,272 [[WildcardFilter].connector.http.mule.default.receiver.02] org.mule.api.processor.LoggerMessageProcessor: --Success
  • 7. • Flow of execution: 1. URL to trigger the service from browser http://localhost:8092/WildcardFilter 2. Wildcard filter checks whether the given payload contains ‘m’ or not?, if yes, it will print a message ‘Success’, else it will not go further.