THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Selective Consumer
The Selective Consumer from the EIP patterns can be implemented in two ways
...
The other approach is to use a Message Filter which is applied; then if the filter matches the message your consumer is invoked as shown in the following example
Using the Fluent Builders
Wiki Markup |
---|
{snippet:id=e5|lang=java|url=activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/builder/RouteBuilderTest.java} |
Using the Spring XML Extensions
Wiki Markup |
---|
{snippet:id=example|lang=xml|url=camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessorWithFilter.xml} |
Include Page | ||||
---|---|---|---|---|
|