2. Abstract
• The main motto of this PPT is How to use Or
Filter in our applications.
3. Introduction
• Mule bundles more than a dozen Filters that
determine whether a message can proceed
through an application flow. The simplest
filters implement basic logic operators (such
as and, or, and not), but these simple
elements can be combined in various ways to
specify complex logical conditions.
6. • Output:
INFO 2015-12-12 07:03:26,157 [main] org.mule.DefaultMuleContext:
**********************************************************************
* Application: OrFilter *
* OS encoding: Cp1252, Mule encoding: UTF-8 *
* *
* Agents Running: *
* Clustering Agent *
* JMX Agent *
**********************************************************************
INFO 2015-12-12 07:03:26,158 [main]
org.mule.module.launcher.MuleDeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'OrFilter' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-12-12 07:03:54,738 [[OrFilter].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: ----entered into the flow
INFO 2015-12-12 07:03:54,994 [[OrFilter].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:8090/OrFilter
2. OR filter checks whether the request contains
‘mule’ or ‘soft’ or not?, if yes, it will print a
message ‘Success’, else it will not go further.