Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6803

ConnectionFactory options trafficClass and wireFormat.prefixPacketSize are not accepted by the OpenWire JMS library.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.15.0
    • Fix Version/s: 5.16.0
    • Component/s: Broker, JMS client
    • Labels:
      None
    • Regression:
      Regression

      Description

      ConnectionFactory options trafficClass and wireFormat.prefixPacketSize are not accepted by the OpenWire JMS library. When i put them to my connection url, I get the following error

              "tcp://127.0.0.1:61616?trafficClass=2&wireFormat.prefixPacketSize=1";
      
      javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {trafficClass=2, wireFormat.prefixPacketSize=1}
      	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:36)
      	at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:333)
      	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:346)
      	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:304)
      	at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:244)
      

      These options are not widely useful, so I am marking the lowest priority.

        Attachments

        1. popup.png
          123 kB
          Jiri Daněk

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              jdanek Jiri Daněk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: