Specifying active and failover jms connection through axis2 xml

122 views Asked by At

I have a jms based webservice implemented in axis2 framework. It uses Tibco EMS for JMS queue and connection factory. Currently I have defined the active EMS server connection in axis2.xml and works fine. However, if this server goes down for some reason, I need to update the ais2.xml manually to point to failover EMS server and then bounce my webservice.

How can I define both active and failover connection such that it switches automatically when active one goes down

Regards, Rajesh

1

There are 1 answers

4
EmmanuelM On

In TIBCO EMS you can define an FT URL using the following syntax : tcp://server:port,tcp://server:port

For example : tcp://server1:7222,tcp://server2:7222

I think you should be able to use such connection URL in your framework.