title: Camel content based routing with header in spring DSL issue
body: <p>I am trying camel for some routing with Spring DSL. I am not able to get the message to the destinations. I know i am missing something please help me to figure out the issue.
  I have set the headers in deviceMessageRouteIdentifier as below</p>
  
  <pre><code>    Message outMsg = exchange.getOut();
      outMsg.setHeader("device_template_id","11");
      outMsg.setHeader("view_id", "2");  
  </code></pre>
  
  <p>my camel route is here</p>
  
  <pre><code>  &lt;camel:route&gt;
      &lt;camel:from uri="direct:devicemessageprocessor"/&gt;
      &lt;camel:bean ref="deviceMessageRouteIdentifier"/&gt;
      &lt;camel:to uri="seda:deviceRouting"/&gt;
      &lt;/camel:route&gt;
              &lt;camel:route&gt;
          &lt;camel:from
              uri="seda:deviceRouting?concurrentConsumers=10&amp;amp;blockWhenFull=true&amp;amp;purgeWhenStopping=true" /&gt;
          &lt;choice&gt;
              &lt;when&gt;
                  &lt;header&gt;$device_template_id = '11'&lt;/header&gt;
                  &lt;to uri="direct:gen2Bridge" /&gt;
              &lt;/when&gt;
              &lt;when&gt;
                  &lt;header&gt;$view_id = '1'&lt;/header&gt;
                  &lt;to uri="direct:prediction" /&gt;
              &lt;/when&gt;
          &lt;/choice&gt;
      &lt;/camel:route&gt;
  
    &lt;camel:route&gt;
          &lt;camel:from uri="direct:gen2Bridge"/&gt;
          &lt;camel:bean ref="gen2BridgeProcessor" /&gt;
    &lt;/camel:route&gt;
  </code></pre>
  
  <p>I am able to reach in deviceMessageRouteIdentifier but not able to reach destination gen2BridgeProcessor</p>
  
  <p>Thanks in advance</p>