jim stafford [
http://community.jboss.org/people/jcstaff] created the discussion
"suggestion for ClientSessionFactory.setBackupConnector"
To view the discussion, visit:
http://community.jboss.org/message/618868#618868
--------------------------------------------------------------
In watching my JMS code work in standalone mode I could see where the extra work of the
TransportConfiguration.equals() method can be avoided if the following if() statement
if (live.equals(connectorConfig) && backup != null)
was re-written to check the backup first
if (backup != null && live.equals(connectorConfig))
In my standalone case, backup is always null and is only checked after the details of the
equals() are determined.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/618868#618868]
Start a new discussion in JBoss Messaging Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]