[
https://issues.jboss.org/browse/AS7-6694?page=com.atlassian.jira.plugin.s...
]
RH Bugzilla Integration commented on AS7-6694:
----------------------------------------------
Miroslav Novak <mnovak(a)redhat.com> made a comment on [bug
919016|https://bugzilla.redhat.com/show_bug.cgi?id=919016]
Verified in EAP 6.1.0.ER3. Thanks Jeff!
Add attributes to "RemoteConnectionFactory" to make it
ready for failover in HA profiles
----------------------------------------------------------------------------------------
Key: AS7-6694
URL:
https://issues.jboss.org/browse/AS7-6694
Project: Application Server 7
Issue Type: Feature Request
Components: JMS
Affects Versions: 7.1.3.Final (EAP)
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Fix For: 8.0.0.Alpha1
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.
--
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