0 Replies Latest reply on Sep 19, 2001 9:33 PM by Mike Squance

    Problem with % in message selectors for MDBs

    Mike Squance Newbie

      Hi,

      I've run across what appears to be a bug in the handling of message selectors for message driven beans. It seems that the wildard '%' (that's a percent sign, not 96...) support is not working. Is this supported by JBoss 2.4.0?

      I can receive the messages in my MDB if I use the following:
      <message-selector>((JMSType='EntityAttrClassCreation') OR (JMSType='EntityAttrClassChange') OR (JMSType='EntityAttrClassDeletion')) </message-selector>

      The messages are not received if I use:
      <message-selector>JMSType='%'</message-selector>

      I've tried a client that does a receive() on the topic using the latter message selector and it receives the message okay.

      Am I missing anything?

      Thanks,
      Mike.