Jiri Danek created AMQ-6803:
-------------------------------
Summary: Open
Key: AMQ-6803
URL: https://issues.apache.org/jira/browse/AMQ-6803
Project: ActiveMQ
Issue Type: Bug
Components: Broker, JMS client
Affects Versions: 5.15.0
Reporter: Jiri Danek
Priority: Trivial
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
{noformat}
"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)
{noformat}
These options are not widely useful, so I am marking the lowest priority.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)