Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4205

JdbcMessageStore header identifiers are invalid according to JMS spec

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JMS Support
    • Labels:
      None

      Description

      The header property identifiers for SAVED_KEY and CREATED_DATE_KEY are invalid according to the JMS spec because they have a '.' in them. This causes certain JMS implementations to fail (specifically IBM MQ JMS).

      Code:
      https://github.com/spring-projects/spring-integration/blob/4.3.x/spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/JdbcMessageStore.java#L182,L187

      From the JMS Spec:

      3.8.1.1 Message Selector Syntax
      ...

      • Identifiers:
        – An identifier is an unlimited-length character sequence that must begin
        with a Java identifier start character; all following characters must be Java
        identifier part characters. An identifier start character is any character for
        which the method Character.isJavaIdentifierStart returns true. This includes
        ‘_’ and ‘$’. An identifier part character is any character for which the
        method Character.isJavaIdentifierPart returns true.

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            adam.lunger@fmr.com Adam Lunger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: