4 Replies Latest reply on Feb 22, 2002 11:24 PM by hchirino

    InvalidSelectorException

    thuss

      If I create a topicsubscription with an invalid selector in JBoss 2.4.4 on the server side in the log I see the following message:

      javax.jms.InvalidSelectorException

      however the caller never receives any exception and goes on happily until it tries to call topicsubscriber.receive at which point it receives a SpyJMSException.

      I personally feel like when I say session.createSubscriber if the selector is invalid it should throw the javax.jms.InvalidSelectorException back to the caller which would still be spec compliant.

      -Todd