Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7235

MessageSelector is not set in JMSConfiguration due to missing property in JMSEndpoint

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.2.0
    • Component/s: Transports
    • Labels:
      None
    • Environment:

      JBoss EAP

    • Estimated Complexity:
      Moderate

      Description

      Hi,
      i was facing the issue, that the messageSelector property for JMSConsumers in the org.apache.cxf.transport.jms.util.PollingMessageListenerContainer was not set. After digging in the source it figured out, that the attribute messageSelector is missing in the class
      org.apache.cxf.transport.jms.uri.JMSEndpoint
      which is used to map all JMS related properties via
      org.apache.cxf.transport.jms.JMSConfigFactory to the property holding class
      org.apache.cxf.transport.jms.uri.JMSConfiguration
      which is used at the end to register the JMS Consumers

      The Solution is to add the propertygessageSelector to class
      org.apache.cxf.transport.jms.uri.JMSEndpoint
      and add the mapping in org.apache.cxf.transport.jms.JMSConfigFactory

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              mitch783 Michel Meier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: