You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Erik Drolshammer (JIRA)" <ji...@apache.org> on 2009/02/13 12:10:59 UTC

[jira] Created: (AMQ-2110) Incompatible options to connection URI

Incompatible options to connection URI
--------------------------------------

                 Key: AMQ-2110
                 URL: https://issues.apache.org/activemq/browse/AMQ-2110
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.2.0
         Environment: linux, redhat 
            Reporter: Erik Drolshammer



This URI works: 
failover:(tcp://host:61616)?jms.useAsyncSend=true&jms.copyMessageOnSend=false 

This does not: 
failover:(tcp://host:61616)?jms.useAsyncSend=true&jms.copyMessageOnSend=false &wireFormat.tightEncodingEnabled=false

This URI makes the client throw an IllegalArgumentException. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-2110) Incompatible options to connection URI

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-2110.
--------------------------------

    Resolution: Working as Designed
      Assignee: Dejan Bosanac

You should set wireFormat.tightEncodingEnabled=false on tcp transport, not the failover one

This URL is working correctly

failover:(tcp://localhost:61616?wireFormat.tightEncodingEnabled=false)?jms.useAsyncSend=true&jms.copyMessageOnSend=false

> Incompatible options to connection URI
> --------------------------------------
>
>                 Key: AMQ-2110
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2110
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.2.0
>         Environment: linux, redhat 
>            Reporter: Erik Drolshammer
>            Assignee: Dejan Bosanac
>
> This URI works: 
> failover:(tcp://host:61616)?jms.useAsyncSend=true&jms.copyMessageOnSend=false 
> This does not: 
> failover:(tcp://host:61616)?jms.useAsyncSend=true&jms.copyMessageOnSend=false &wireFormat.tightEncodingEnabled=false
> This URI makes the client throw an IllegalArgumentException. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.