How do I convert the below line in Java DSL into an equivalent Blueprint XML
version:
from("seda:input?concurrentConsumers=2").filter(body().isInstanceOf(String.class))
I am particularly willing to know how to use the filter to access the
exchange's body and check if one of the messages is of type "String".
I am aware of creating a predicate class and referencing it. But is there
any other way to do it directly in XML itself with the help of tags.
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Blueprint-equivalent-of-Camel-instanceof-Predicate-tp5797333.html
Sent from the Camel - Users mailing list archive at Nabble.com.