camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: A question about Content Based Filter
Date Thu, 07 Nov 2013 20:49:56 GMT
sounds fine... you can then use xpath expression to filter based on
the content...

On Thu, Nov 7, 2013 at 11:28 AM, bonnahu <bonnahu@gmail.com> wrote:
> Hi guys,
> Currently, I have an incoming message which is type of ClassA. The ClassA
> has two fields, one field is a byte array, which can be convert to a xml
> object. I need to do the filtering based on the the value of a tag in the
> xml. My original thought is to covert the byte array to Document, then parse
> the xml to retrieve the tag value.
> Is there a better solution?
>
> thanks a lot
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/A-question-about-Content-Based-Filter-tp5742789.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Mime
View raw message