5 Replies Latest reply on Apr 19, 2011 9:48 AM by davsclaus

    JMS Message Selectors-Are parameters possible?

    gmotts_gary.motts

      Hi All,

       

      Is it possible to define a parameter for a JMS selector and allow passing in a variable?

       

      something similar to this route where the state:

       

      from("activemq:queue:myqueue?selector=abc='xyz' AND $ IS TRUE.....

       

      Where the goal is to enable or pause a message listener on a JMS queue.  Perhaps someone knows of another way?

       

      Thanks

       

      Gary