Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-522

add toggle for controlling the local validation of message selector strings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.56.0
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      JMS has specific rules for certain things like property names and message selector operations/syntax. Even though the client requires that selection is always undertaken server-side, according to a provided source terminus filter carrying the message selector string, the client does locally validate the selector strings to pre-check them for various syntax etc rules and ensure various required failures occur in the necessary ways.

      Some servers support use of selection in ways that go beyond / are not compatible with the JMS selection behaviours however and thus certain functionality cant be used via the client, even though it would be performed server side and otherwise work fine, since failure occurs before even creating the consumer link.

      As the client already allows toggling certain related naming validations, adding an option to similarly toggle whether the local selector validation occurs seems reasonable, thus allowing for it to be disabled and usage of the client to proceed even in these non-JMS selection use cases.

      Related discussion: https://lists.apache.org/thread.html/r5a4684e5f327681d8d511e70af3e86b692c072f71a80790e2afc8a1a%40%3Cusers.qpid.apache.org%3E

        Attachments

          Activity

            People

            • Assignee:
              robbie Robbie Gemmell
              Reporter:
              robbie Robbie Gemmell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: