I'm having some problems getting this to work right, I'm hoping this is an
easy question.

The behavior I want is to check if the header contains a key, then do
something if that header key doesn't exist.  I've tried several ways to
accomplish this, my current route that *doesn't accomplish my goal* is
below.

<route>
                <from uri="direct:input" />
                <choice>
                        <when>
                                <simple><notcontins>
                                        ${header.workflowId}
                                        </notcontins>
                                </simple>
                                <to 
uri="bean:com.acme.activator.ExampleProcessor"/>            
                        </when>
                </choice>
</route>

I'm new to Camel so any help would be greatly appreciated.

Thanks,
Shawn



--
View this message in context: 
http://camel.465427.n5.nabble.com/Make-decision-on-whether-header-key-exists-in-XML-DSL-tp5747585.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to