Hi,
I am trying to build a custom filter using the Spring DSL. I am able to
successfully create it using the Java DSL using the .filter(new
CustomPredicate()) method where CustomPredicate is a class extending the
Predicate interface. However, I am not able to do this using the Spring DSL.
I have tried several things but I cannot get anything to filter my messages.
The path right now looks something like this:
<from uri="vm:endpoint1" />
<process ref="processor1" />
<filter>
<method ref="CustomPredicate" method="matches"/>
</filter>
<process ref="processor2" />
<to ref="endpoint2" />
Any suggestions on how to implement this?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Custom-Message-Filter-tp4346578p4346578.html
Sent from the Camel - Users mailing list archive at Nabble.com.