1 Reply Latest reply on Oct 13, 2009 9:47 AM by gseben

    CompositeQueue with selector : I can not find my messages in ActiveMQ ?

    titexe

      Hello,

       

      I utilize Activemq v5.2, i have configured the selector to filter messages received in my queue IN,the selector filter the field "Action" in the header of the message,if Action = XML or xml, put message to XML queue , and if Action = CSV or csv, put message to CSV queue.

       

      Problem : that when i receive different value than XML and CSV, i don't retreive my message ?

       

      here is my configuration that i used :

       

      <compositeQueue name="IN">

                  <forwardTo>

                                      <filteredDestination selector="Action LIKE '.xml'" queue="XML"/>

                                      <filteredDestination selector="Action LIKE '.csv'" queue="CSV"/>

                                      <filteredDestination selector="Action LIKE '.XML'" queue="XML"/>

                                      <filteredDestination selector="Action LIKE '.CSV'" queue="CSV"/>

                  </forwardTo>

      </compositeQueue>

       

       

      version of Java : 1.6

       

      Thank you in advance for ours help,

       

      best regards,

       

      titexe