Class ConnectionOptions
- java.lang.Object
-
- org.apache.activemq.artemis.uri.schema.serverLocator.ConnectionOptions
-
- Direct Known Subclasses:
JMSConnectionOptions
public class ConnectionOptions extends Object
This will represent all the possible options you could setup on URLs When parsing the URL this will serve as an intermediate object And it could also be a pl
-
-
Constructor Summary
Constructors Constructor Description ConnectionOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()intgetPort()booleanisHa()booleanisHA()Se need both options (ha / HA in case of typos on the URI)voidsetHa(boolean ha)voidsetHA(boolean ha)ConnectionOptionssetHost(String host)ConnectionOptionssetPort(int port)StringtoString()
-
-
-
Method Detail
-
setHost
public ConnectionOptions setHost(String host)
-
getHost
public String getHost()
-
setPort
public ConnectionOptions setPort(int port)
-
getPort
public int getPort()
-
isHa
public boolean isHa()
-
setHa
public void setHa(boolean ha)
-
isHA
public boolean isHA()
Se need both options (ha / HA in case of typos on the URI)
-
setHA
public void setHA(boolean ha)
-
-