public class MQBrokerConfigDTO extends Object
| Constructor and Description |
|---|
MQBrokerConfigDTO() |
| Modifier and Type | Method and Description |
|---|---|
String |
clientProfile()
Returns the client connection profile name or defaults it to "mq-client-$group"
|
String |
getBrokerName()
Return the Broker name
|
String |
getClientParentProfile()
Returns the parent profile for the client profile.
|
String |
getClientProfile()
Returns the profile that clients use to connect to this group
|
String |
getConfigUrl()
Returns the configuration URL to use
|
String |
getData()
Returns the data directory for the broker
|
String |
getGroup()
Returns the broker group
|
String |
getJvmOpts()
Returns the JVM options to pass to the containers
|
BrokerKind |
getKind() |
Integer |
getMinimumInstances()
Returns the number of slaves if using master/slave rather than replicated or N+1
|
String[] |
getNetworks()
Returns the group names of the network of brokers to create
|
String |
getNetworksPassword()
Returns the broker networks password
|
String |
getNetworksUserName()
Returns the broker networks username
|
String |
getParentProfile()
Returns the parent profile to extend
|
Map<String,String> |
getPorts() |
String |
getProfile()
Returns the profile name (which defaults to the broker name)
|
List<String> |
getProperties()
Returns additional properties to define in the profile
|
Integer |
getReplicas()
Returns the number of replicas for a replicated message broker
|
Boolean |
getSsl() |
String |
getVersion()
The version id in the registry
|
String |
group()
Returns the group if there is one configured or 'default' for the default group
|
BrokerKind |
kind()
Returns the kind of the broker or the default
|
String |
profile()
Returns the configured profile name or defaults it to "mq-broker-$group.$brokerName"
|
int |
requiredInstances()
Based on the kind of replication (N+1 or replicated etc) or based on configuration
return now many instances of the broker profile are required
|
void |
setBrokerName(String brokerName) |
void |
setClientParentProfile(String clientParentProfile) |
void |
setClientProfile(String clientProfile) |
void |
setConfigUrl(String configUrl) |
void |
setData(String data) |
void |
setGroup(String group) |
void |
setJvmOpts(String jvmOpts) |
void |
setKind(BrokerKind kind) |
void |
setMinimumInstances(Integer minimumInstances) |
void |
setNetworks(String[] networks) |
void |
setNetworksPassword(String networksPassword) |
void |
setNetworksUserName(String networksUserName) |
void |
setParentProfile(String parentProfile) |
void |
setPorts(Map<String,String> ports) |
void |
setProfile(String profile) |
void |
setProperties(List<String> properties) |
void |
setReplicas(Integer replicas) |
void |
setSsl(Boolean ssl) |
void |
setVersion(String version) |
String |
toString() |
String |
version()
Returns the version if there is one configured or the default version
|
public int requiredInstances()
public String version()
public String group()
public BrokerKind kind()
public String profile()
public String clientProfile()
public BrokerKind getKind()
public void setKind(BrokerKind kind)
public String getBrokerName()
public void setBrokerName(String brokerName)
public String getProfile()
public void setProfile(String profile)
public String getParentProfile()
public void setParentProfile(String parentProfile)
public String getClientProfile()
public void setClientProfile(String clientProfile)
public String getClientParentProfile()
public void setClientParentProfile(String clientParentProfile)
public List<String> getProperties()
public String getConfigUrl()
public void setConfigUrl(String configUrl)
public String getData()
public void setData(String data)
public String getGroup()
public void setGroup(String group)
public String[] getNetworks()
public void setNetworks(String[] networks)
public String getNetworksUserName()
public void setNetworksUserName(String networksUserName)
public String getNetworksPassword()
public void setNetworksPassword(String networksPassword)
public String getVersion()
public void setVersion(String version)
public String getJvmOpts()
public void setJvmOpts(String jvmOpts)
public Integer getReplicas()
public void setReplicas(Integer replicas)
public Integer getMinimumInstances()
public void setMinimumInstances(Integer minimumInstances)
public Boolean getSsl()
public void setSsl(Boolean ssl)
Copyright © 2011–2014 Red Hat. All rights reserved.