Bug 919016 - Add attributes to "RemoteConnectionFactory" to make it ready for failover in HA profiles
Summary: Add attributes to "RemoteConnectionFactory" to make it ready for failover in ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER3
: EAP 6.1.0
Assignee: Jeff Mesnil
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-07 12:15 UTC by Miroslav Novak
Modified: 2013-12-15 17:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 17:01:41 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-6694 0 Major Resolved Add attributes to "RemoteConnectionFactory" to make it ready for failover in HA profiles 2013-05-17 08:40:28 UTC

Description Miroslav Novak 2013-03-07 12:15:53 UTC
At this moment "RemoteConnectionFactory" configured in messaging subsystem in standalone-full-ha.xml or domain.xml in "full-ha" profile is not ready to failover by default. Please change:

<connection-factory name="RemoteConnectionFactory">
                        <connectors>
                            <connector-ref connector-name="netty"/>
                        </connectors>
                        <entries>
                            <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
                        </entries>
</connection-factory>

to:
<connection-factory name="RemoteConnectionFactory">
                        <connectors>
                            <connector-ref connector-name="netty"/>
                        </connectors>
                        <entries>
                            <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
                        </entries>
                        <ha>true</ha>
                        <block-on-acknowledge>true</block-on-acknowledge>
                        <retry-interval>1000</retry-interval>
                        <retry-interval-multiplier>1.0</retry-interval-multiplier>
                        <reconnect-attempts>-1</reconnect-attempts>
</connection-factory>
This will guarantee that clients using this connection factory will failover to backup.

Comment 1 JBoss JIRA Server 2013-03-08 11:01:54 UTC
Jeff Mesnil <jmesnil> made a comment on jira AS7-6694

PR for master branch

Comment 2 JBoss JIRA Server 2013-03-08 17:40:26 UTC
Jeff Mesnil <jmesnil> made a comment on jira AS7-6694

PR merged in master

Comment 4 Miroslav Novak 2013-03-29 11:17:51 UTC
Verified in EAP 6.1.0.ER3. Thanks Jeff!


Note You need to log in before you can comment on or make changes to this bug.