activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3707) Dynamic Failover Client Connection Params Broker Side Attribute
Date Mon, 17 Dec 2012 20:06:12 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534249#comment-13534249
] 

Timothy Bish commented on AMQ-3707:
-----------------------------------

One problem you'd run into here is that the client params are pared up at the connection factory
level when the connection is created so values like use compression are checked there and
then never evaluated again.  We'd have to make the client also smarter such that it updates
the connection settings every time a new connection is made which open a whole new can of
worms for bugs :)
                
> Dynamic Failover Client Connection Params Broker Side Attribute
> ---------------------------------------------------------------
>
>                 Key: AMQ-3707
>                 URL: https://issues.apache.org/jira/browse/AMQ-3707
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>            Reporter: Scott England-Sullivan
>             Fix For: 5.8.0
>
>
> Given that dynamic failover allows for the addition and removal of brokers from a list
of available connections at the client, I would suggest that an attribute be made available
on the broker to define what connection options a client should use when connecting to a given
broker.
> Therefore a client with the following list of connections:
> Client connect string
> * failover://(tcp://somebrokerA:61616,tcp://somebrokerB:61616)
> And a broker with the following
> * (NEW) *clusterClientsConnectionParams="useCompression=true"*
> Would result in a client with the following connection list:
> * tcp://somebrokerA:61616?clusterClientsConnectionParams="useCompression=true"
> * tcp://somebrokerB:61616?clusterClientsConnectionParams="useCompression=true"
> And should a new broker be added to the cluster (if this option was set on each broker):
> * tcp://somebrokerA:61616?clusterClientsConnectionParams="useCompression=true"
> * tcp://somebrokerB:61616?clusterClientsConnectionParams="useCompression=true"
> * tcp://somebrokerC:61616?clusterClientsConnectionParams="useCompression=true"
> Thanks,
> Scott ES
> http://fusesource.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message