The only change you have to apply is the JNDI provider URL (SMQP URL) supplied from the HA Wizard (in file "ha_next_tasks.txt"). The SMQP-URL has the following format:
smqp://[<user>[:<password>]@](<host>:<port>)|"intravm"[/[host2=<host2>][port2=<port2>]
[reconnect=<boolean>][retrydelay=<long>][maxretries=<int>][type=<type>]
[;timeout=<long>][;keepalive=<long>][debug=<boolean>]
Where
smqp ::= Specifies the SwiftMQ Protocol
<user> ::= Username. Default is 'anonymous'
<password> ::= User's password. Default is null.
<host> ::= DNS hostname of the 1st HA instance or the keyword "intravm" to connect intra-VM
<port> ::= JMS listener port of the 1st HA instance
host2 ::= DNS hostname of the 2nd HA instance
port2 ::= JMS listener port of the 2nd HA instance
reconnect ::= Specifies whether an automatic reconnect should be done
retrydelay ::= Amount in milliseconds to wait between reconnect retries
maxretries ::= Max. number of reconnect retries
type ::= Class name of the socket factory used by this JMS listener.
In this release, com.swifmq.net.PlainSocketFactory and
com.swiftmq.net.JSSESocketFactory are available. Default is
com.swifmq.net.PlainSocketFactory. See JMS Swiftlet configuration for details.
timeout ::= Specifies a timeout in milliseconds for lookups. If no JNDI object is
received within this time, the lookup throws a NamingException. Default is no timeout;
lookups are waiting until they receive the requested JNDI objects.
keepalive ::= Specifies a keepalive interval in milliseconds. If this value is greater 0, a
timer is created on the client side to send keepalive messages to detect broken
JNDI connections. Default is 60000 (1 minute)
debug ::= If true, debug information are printed to System.out. Good for testing.
Example:
smqp://jms1:4001/host2=jms2;port2=4002;timeout=10000;reconnect=true;retrydelay=1000;maxretries=50
Connects round-robin between host "jms1" at port 4001 and "jms2" at port 4002 with a delay of 1 second between retries. It stops retries after 50 unsuccessful attempts. JNDI lookup timeout is set to 10 seconds.