You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/09/12 10:47:00 UTC
[jira] [Closed] (AMQ-6803) ConnectionFactory options trafficClass
and wireFormat.prefixPacketSize are not accepted by the OpenWire JMS
library.
[ https://issues.apache.org/jira/browse/AMQ-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Danek closed AMQ-6803.
---------------------------
lgtm, thanks for fixing
> ConnectionFactory options trafficClass and wireFormat.prefixPacketSize are not accepted by the OpenWire JMS library.
> --------------------------------------------------------------------------------------------------------------------
>
> 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
> Assignee: Gary Tully
> Priority: Trivial
> Fix For: 5.16.0
>
> Attachments: popup.png
>
>
> 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)