No this is by design On Wed, Mar 30, 2016 at 11:56 AM, James Green <james.mk.gr...@gmail.com> wrote: > I was expecting this to return boolean, but it returns a Component if > present or null otherwise. > > This feels counter-intuitive and horrible to code against. Are there plans > to this this? > > Thanks, > > James
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2