See the simple language which has some built in function and also for
checking a type
http://camel.apache.org/simple

On Tue, Apr 11, 2017 at 12:07 PM, sugavanan <[email protected]> wrote:
> 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.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to