title: Apache Camel multiple filter / selector with operator
body: <p>I am trying to filter a message from activeMQ in my Camel Route using filters but I can't make it work when I use operators such as || or &amp;&amp;</p>
  
  <p>So basically I am receiving a message from activemq with several headers, I want my route to filter messages by headers value. But for some headers I want to accept different values, so I need to use something like "header('myHeader' = 'value1' || 'value2')" but it doesn't work.</p>
  
  <p>I tried with filter(), choice().when() and some Simple() code nothing works.</p>
  
  <p>Here is my Route's code (just the filtering part) :</p>
  
  <pre><code>// first try                        
  .filter(header("CACT").isEqualTo("OBS"))
  .filter(header("CDPO").in("SAT", "LYO"))
  .filter(header("CDDO").isEqualTo("OBSDOM"))
  .filter(header("NAME").isEqualTo("SORSTK"))
  .filter(header("FLUX").isNull() || header("FLUX").isEqualTo("SCICS"))
  
  // second try           
  .choice()
      .when(header("CACT").isEqualTo("OBS") &amp;&amp; 
            header("CDPO").in("SAT", "LYO") &amp;&amp; 
            header("CDDO").isEqualTo("OBSDOM") &amp;&amp; 
            header("NAME").isEqualTo("SORSTK") &amp;&amp;
            (header("FLUX").isNull() || header("FLUX").isEqualTo("SCICS"))
  
  // third try
  .filter().simple('''${in.header[CACT]} == ("OBS") &amp;&amp; 
                      ${in.header[CDPO]} == ("LYO" || "SAT") &amp;&amp;
                      ${in.header[CDDO]} == ("OBSDOM") &amp;&amp;
                      ${in.header[NAME]} == ("SORSTK") &amp;&amp;
                      (${in.header[FLUX]} != (null) || ${in.header[FLUX]} == "SAT") ''')
  </code></pre>
  
  <p>I tried those three solutions but none of them works. When I remove the lines that have the || operator, it works. So I don't know how to handle that.
  I just want to consume my message if those conditions are verified.</p>
  
  <p>If you have any idea why it doesn't work, your help will be appreciate.</p>
  
  <p>Regards,
  Sami</p>