[ 
https://issues.apache.org/jira/browse/AMQ-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully resolved AMQ-6803.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 5.16.0

updated the doc for wireformat info for the sizePrefixDisabled

https://cwiki.apache.org/confluence/display/ACTIVEMQ/Configuring+Wire+Formats

> 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
>            Priority: Trivial
>             Fix For: 5.16.0
>
>
> 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)

Reply via email to