You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "john robens (JIRA)" <ji...@apache.org> on 2010/07/15 12:44:51 UTC
[jira] Created: (AMQ-2828) Broker connection string does not allow
both failover and compression
Broker connection string does not allow both failover and compression
---------------------------------------------------------------------
Key: AMQ-2828
URL: https://issues.apache.org/activemq/browse/AMQ-2828
Project: ActiveMQ
Issue Type: Bug
Components: Connector
Affects Versions: 5.3.0
Environment: apache camel, grails 1.3.2 - server is spring 2.5.6. activemq-all-5.3.0.jar activemq-pool5.3-SNAPSHOT.jar
Reporter: john robens
This works (spring resources.groovy in grails):
_jmsConnectionFactory(ActiveMQConnectionFactory) {
brokerURL = tcp://localhost:61616?jms.useCompression=true
}
So does this:
_jmsConnectionFactory(ActiveMQConnectionFactory) {
brokerURL = failover:(tcp://localhost:61616)
}
But this doesn't
_jmsConnectionFactory(ActiveMQConnectionFactory) {
brokerURL = failover:(tcp://localhost:61616?jms.useCompression=true)
}
Error message is:
195562 [ActiveMQ Task] DEBUG org.apache.activemq.transport.failover.FailoverTransport - Connect fail to: tcp://localhost:61616?jms.useCompression=true, reason: java.lang.IllegalArgumentException: Invalid connect parameters: {jms.useCompression=true}
Had a look at the code and it does seem to say this by default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2828) Broker connection string does not
allow both failover and compression
Posted by "john robens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60676#action_60676 ]
john robens commented on AMQ-2828:
----------------------------------
Gary - yes tried that too.
> Broker connection string does not allow both failover and compression
> ---------------------------------------------------------------------
>
> Key: AMQ-2828
> URL: https://issues.apache.org/activemq/browse/AMQ-2828
> Project: ActiveMQ
> Issue Type: Bug
> Components: Connector
> Affects Versions: 5.3.0
> Environment: apache camel, grails 1.3.2 - server is spring 2.5.6. activemq-all-5.3.0.jar activemq-pool5.3-SNAPSHOT.jar
> Reporter: john robens
>
> This works (spring resources.groovy in grails):
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = tcp://localhost:61616?jms.useCompression=true
> }
> So does this:
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = failover:(tcp://localhost:61616)
> }
> But this doesn't
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = failover:(tcp://localhost:61616?jms.useCompression=true)
> }
> Error message is:
> 195562 [ActiveMQ Task] DEBUG org.apache.activemq.transport.failover.FailoverTransport - Connect fail to: tcp://localhost:61616?jms.useCompression=true, reason: java.lang.IllegalArgumentException: Invalid connect parameters: {jms.useCompression=true}
> Had a look at the code and it does seem to say this by default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2828) Broker connection string does not
allow both failover and compression
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60675#action_60675 ]
Gary Tully commented on AMQ-2828:
---------------------------------
what about: failover:(tcp://localhost:61616)?jms.useCompression=true ?
> Broker connection string does not allow both failover and compression
> ---------------------------------------------------------------------
>
> Key: AMQ-2828
> URL: https://issues.apache.org/activemq/browse/AMQ-2828
> Project: ActiveMQ
> Issue Type: Bug
> Components: Connector
> Affects Versions: 5.3.0
> Environment: apache camel, grails 1.3.2 - server is spring 2.5.6. activemq-all-5.3.0.jar activemq-pool5.3-SNAPSHOT.jar
> Reporter: john robens
>
> This works (spring resources.groovy in grails):
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = tcp://localhost:61616?jms.useCompression=true
> }
> So does this:
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = failover:(tcp://localhost:61616)
> }
> But this doesn't
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = failover:(tcp://localhost:61616?jms.useCompression=true)
> }
> Error message is:
> 195562 [ActiveMQ Task] DEBUG org.apache.activemq.transport.failover.FailoverTransport - Connect fail to: tcp://localhost:61616?jms.useCompression=true, reason: java.lang.IllegalArgumentException: Invalid connect parameters: {jms.useCompression=true}
> Had a look at the code and it does seem to say this by default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (AMQ-2828) Broker connection string does not allow
both failover and compression
Posted by "john robens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
john robens closed AMQ-2828.
----------------------------
Resolution: Fixed
Gary
Sorry - you are correct. The syntax outside the brackets works.
Thanks
John
> Broker connection string does not allow both failover and compression
> ---------------------------------------------------------------------
>
> Key: AMQ-2828
> URL: https://issues.apache.org/activemq/browse/AMQ-2828
> Project: ActiveMQ
> Issue Type: Bug
> Components: Connector
> Affects Versions: 5.3.0
> Environment: apache camel, grails 1.3.2 - server is spring 2.5.6. activemq-all-5.3.0.jar activemq-pool5.3-SNAPSHOT.jar
> Reporter: john robens
>
> This works (spring resources.groovy in grails):
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = tcp://localhost:61616?jms.useCompression=true
> }
> So does this:
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = failover:(tcp://localhost:61616)
> }
> But this doesn't
> _jmsConnectionFactory(ActiveMQConnectionFactory) {
> brokerURL = failover:(tcp://localhost:61616?jms.useCompression=true)
> }
> Error message is:
> 195562 [ActiveMQ Task] DEBUG org.apache.activemq.transport.failover.FailoverTransport - Connect fail to: tcp://localhost:61616?jms.useCompression=true, reason: java.lang.IllegalArgumentException: Invalid connect parameters: {jms.useCompression=true}
> Had a look at the code and it does seem to say this by default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.