public class ConnectionFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JMS_CONNECTION_FACTORY_TOKEN
The alias token used to substitute the Connection Factory name in the alias' WLST path.
|
Constructor and Description |
---|
ConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
AcknowledgePolicy |
getAcknowledgePolicy()
Get the acknowledgement policy.
|
Boolean |
getAllowCloseInOnMessage()
Get whether or not to allow calling close in the onMessage method.
|
Boolean |
getAttachJMSXUserId()
Get whether or not to attach the user ID to the message.
|
String |
getClientId()
Get the client ID.
|
ClientIdPolicy |
getClientIdPolicy()
Get the client ID policy.
|
Integer |
getDefaultCompressionThreshold()
Get the default compression threshold.
|
DeliveryMode |
getDefaultDeliveryMode()
Get the default delivery mode.
|
Integer |
getDefaultPriority()
Get the default priority.
|
Long |
getDefaultRedeliveryDelay()
Get the default redelivery delay.
|
Boolean |
getDefaultTargetingEnabled()
Get whether or not default targeting is enabled.
|
String |
getDefaultTimeToDeliver()
Get the default time to deliver.
|
Long |
getDefaultTimeToLive()
Get the default time to live.
|
String |
getDefaultUnitOfOrder()
Get the default unit of order.
|
Boolean |
getFlowControlEnabled()
Get whether or not flow control is enabled.
|
Integer |
getFlowInterval()
Get the flow interval.
|
Integer |
getFlowMaximum()
Get the flow maximum.
|
Integer |
getFlowMinimum()
Get the flow minimum.
|
Integer |
getFlowSteps()
Get the number of flow steps.
|
String |
getId()
Get the id.
|
String |
getJndiName()
Get the JNDI name.
|
Boolean |
getLoadBalancingEnabled()
Get whether or not load balancing is enabled.
|
String |
getLocalJndiName()
Get the local JNDI name.
|
Integer |
getMessagesMaximum()
Get the messages maximum value.
|
MulticastOverrunPolicy |
getMulticastOverrunPolicy()
Get the multicast overrun policy.
|
String |
getName()
Get the name.
|
String |
getNotes()
Get the notes.
|
OneWaySendMode |
getOneWaySendMode()
Get one-way send mode.
|
Integer |
getOneWaySendWindowSize()
Get the one-way send window size.
|
Long |
getReconnectBlockingMillis()
Get the number of milliseconds that the reconnect call will block while waiting
for the connection to be re-established.
|
ReconnectPolicy |
getReconnectPolicy()
Get the reconnect policy.
|
Long |
getSendTimeout()
Get the send timeout.
|
Boolean |
getServerAffinityEnabled()
Get whether or not server affinity is enabled.
|
String |
getSubDeploymentName()
Get the sub-deployment.
|
SubscriptionSharingPolicy |
getSubscriptionSharingPolicy()
Get the subscription sharing policy.
|
SynchronousPrefetchMode |
getSynchronousPrefetchMode()
Get the synchronous prefetch mode.
|
Long |
getTotalReconnectPeriodMillis()
Get the number of milliseconds for the total reconnect period.
|
Long |
getTransactionTimeout()
Get the transaction timeout.
|
Boolean |
getXaConnectionFactoryEnabled()
Get whether or not the XAConnectionFactory interface is enabled.
|
boolean |
isClientParamsEmpty()
Whether or not the ClientParams folder values are empty.
|
boolean |
isDefaultDeliveryParamsEmpty()
Whether or not the DefaultDeliveryParams folder values are empty.
|
boolean |
isFlowControlParamsEmpty()
Whether or not the FlowControlParams folder values are empty.
|
boolean |
isLoadBalancingParamsEmpty()
Whether or not the LoadBalancingParams folder values are empty.
|
boolean |
isSecurityParamsEmpty()
Whether or not the SecurityParams folder values are empty.
|
boolean |
isTransactionParamsEmpty()
Whether or not the TransactionParams folder values are empty.
|
ConnectionFactory |
setAcknowledgePolicy(AcknowledgePolicy acknowledgePolicy)
Set the acknowledgement policy.
|
ConnectionFactory |
setAllowCloseInOnMessage(Boolean allowCloseInOnMessage)
Set whether or not to allow calling close in the onMessage method.
|
ConnectionFactory |
setAttachJMSXUserId(Boolean attachJMSXUserId)
Set whether or not to attach the user ID to the message.
|
ConnectionFactory |
setClientId(String clientId)
Set the client ID.
|
ConnectionFactory |
setClientIdPolicy(ClientIdPolicy clientIdPolicy)
Set the client ID policy.
|
ConnectionFactory |
setDefaultCompressionThreshold(Integer defaultCompressionThreshold)
Set the default compression threshold.
|
ConnectionFactory |
setDefaultDeliveryMode(DeliveryMode defaultDeliveryMode)
Set the default delivery mode.
|
ConnectionFactory |
setDefaultPriority(Integer defaultPriority)
Set the default priority.
|
ConnectionFactory |
setDefaultRedeliveryDelay(Long defaultRedeliveryDelay)
Set the default redelivery delay.
|
ConnectionFactory |
setDefaultTargetingEnabled(Boolean defaultTargetingEnabled)
Set whether or not default targeting is enabled.
|
ConnectionFactory |
setDefaultTimeToDeliver(String defaultTimeToDeliver)
Set the default time to deliver.
|
ConnectionFactory |
setDefaultTimeToLive(Long defaultTimeToLive)
Set the default time to live.
|
ConnectionFactory |
setDefaultUnitOfOrder(String defaultUnitOfOrder)
Set the default unit of order.
|
ConnectionFactory |
setFlowControlEnabled(Boolean flowControlEnabled)
Set whether or not flow control is enabled.
|
ConnectionFactory |
setFlowInterval(Integer flowInterval)
Set the flow interval.
|
ConnectionFactory |
setFlowMaximum(Integer flowMaximum)
Set the flow maximum.
|
ConnectionFactory |
setFlowMinimum(Integer flowMinimum)
Set the flow minimum.
|
ConnectionFactory |
setFlowSteps(Integer flowSteps)
Set the number of flow steps.
|
ConnectionFactory |
setId(String id)
Set the id.
|
ConnectionFactory |
setJndiName(String jndiName)
Set the JNDI name.
|
ConnectionFactory |
setLoadBalancingEnabled(Boolean loadBalancingEnabled)
Set whether or not load balancing is enabled.
|
ConnectionFactory |
setLocalJndiName(String localJndiName)
Set the local JNDI name.
|
ConnectionFactory |
setMessagesMaximum(Integer messagesMaximum)
Set the messages maximum value.
|
ConnectionFactory |
setMulticastOverrunPolicy(MulticastOverrunPolicy multicastOverrunPolicy)
Set the multicast overrun policy.
|
ConnectionFactory |
setName(String name)
Set the name.
|
ConnectionFactory |
setNotes(String notes)
Set the notes.
|
ConnectionFactory |
setOneWaySendMode(OneWaySendMode oneWaySendMode)
Set one-way send mode.
|
ConnectionFactory |
setOneWaySendWindowSize(Integer oneWaySendWindowSize)
Set the one-way send window size.
|
ConnectionFactory |
setReconnectBlockingMillis(Long reconnectBlockingMillis)
Set the number of milliseconds that the reconnect call will block while waiting
for the connection to be re-established.
|
ConnectionFactory |
setReconnectPolicy(ReconnectPolicy reconnectPolicy)
Set the reconnect policy.
|
ConnectionFactory |
setSendTimeout(Long sendTimeout)
Set the send timeout.
|
ConnectionFactory |
setServerAffinityEnabled(Boolean serverAffinityEnabled)
Set whether or not server affinity is enabled.
|
ConnectionFactory |
setSubDeploymentName(String subDeploymentName)
Set the sub-deployment.
|
ConnectionFactory |
setSubscriptionSharingPolicy(SubscriptionSharingPolicy subscriptionSharingPolicy)
Set the subscription sharing policy.
|
ConnectionFactory |
setSynchronousPrefetchMode(SynchronousPrefetchMode synchronousPrefetchMode)
Set the synchronous prefetch mode.
|
ConnectionFactory |
setTotalReconnectPeriodMillis(Long totalReconnectPeriodMillis)
set the number of milliseconds for the total reconnect period.
|
ConnectionFactory |
setTransactionTimeout(Long transactionTimeout)
Set the transaction timeout.
|
ConnectionFactory |
setXaConnectionFactoryEnabled(Boolean xaConnectionFactoryEnabled)
Set whether or not the XAConnectionFactory interface is enabled.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public static final String JMS_CONNECTION_FACTORY_TOKEN
public String getId()
public ConnectionFactory setId(String id)
id
- the new idpublic Boolean getDefaultTargetingEnabled()
public ConnectionFactory setDefaultTargetingEnabled(Boolean defaultTargetingEnabled)
defaultTargetingEnabled
- the new valuepublic String getJndiName()
public ConnectionFactory setJndiName(String jndiName)
jndiName
- the new JNDI namepublic String getLocalJndiName()
public ConnectionFactory setLocalJndiName(String localJndiName)
localJndiName
- the new local JNDI namepublic String getName()
public ConnectionFactory setName(String name)
name
- the new namepublic String getNotes()
public ConnectionFactory setNotes(String notes)
notes
- the new notespublic String getSubDeploymentName()
public ConnectionFactory setSubDeploymentName(String subDeploymentName)
subDeploymentName
- the new sub-deploymentpublic AcknowledgePolicy getAcknowledgePolicy()
public ConnectionFactory setAcknowledgePolicy(AcknowledgePolicy acknowledgePolicy)
acknowledgePolicy
- the new acknowledgement policypublic Boolean getAllowCloseInOnMessage()
public ConnectionFactory setAllowCloseInOnMessage(Boolean allowCloseInOnMessage)
allowCloseInOnMessage
- the new valuepublic String getClientId()
public ConnectionFactory setClientId(String clientId)
clientId
- the new client IDpublic ClientIdPolicy getClientIdPolicy()
public ConnectionFactory setClientIdPolicy(ClientIdPolicy clientIdPolicy)
clientIdPolicy
- the new client ID policypublic Integer getMessagesMaximum()
public ConnectionFactory setMessagesMaximum(Integer messagesMaximum)
messagesMaximum
- the new messages maximum valuepublic MulticastOverrunPolicy getMulticastOverrunPolicy()
public ConnectionFactory setMulticastOverrunPolicy(MulticastOverrunPolicy multicastOverrunPolicy)
multicastOverrunPolicy
- the new multicast overrun policypublic Long getReconnectBlockingMillis()
public ConnectionFactory setReconnectBlockingMillis(Long reconnectBlockingMillis)
reconnectBlockingMillis
- the new number of millisecondspublic ReconnectPolicy getReconnectPolicy()
public ConnectionFactory setReconnectPolicy(ReconnectPolicy reconnectPolicy)
reconnectPolicy
- the new reconnect policypublic SubscriptionSharingPolicy getSubscriptionSharingPolicy()
public ConnectionFactory setSubscriptionSharingPolicy(SubscriptionSharingPolicy subscriptionSharingPolicy)
subscriptionSharingPolicy
- the new subscription sharing policypublic SynchronousPrefetchMode getSynchronousPrefetchMode()
public ConnectionFactory setSynchronousPrefetchMode(SynchronousPrefetchMode synchronousPrefetchMode)
synchronousPrefetchMode
- the new synchronous prefetch modepublic Long getTotalReconnectPeriodMillis()
public ConnectionFactory setTotalReconnectPeriodMillis(Long totalReconnectPeriodMillis)
totalReconnectPeriodMillis
- the new number of millisecondspublic Integer getDefaultCompressionThreshold()
public ConnectionFactory setDefaultCompressionThreshold(Integer defaultCompressionThreshold)
defaultCompressionThreshold
- the new default compression thresholdpublic DeliveryMode getDefaultDeliveryMode()
public ConnectionFactory setDefaultDeliveryMode(DeliveryMode defaultDeliveryMode)
defaultDeliveryMode
- the new default delivery modepublic Integer getDefaultPriority()
public ConnectionFactory setDefaultPriority(Integer defaultPriority)
defaultPriority
- the new default prioritypublic Long getDefaultRedeliveryDelay()
public ConnectionFactory setDefaultRedeliveryDelay(Long defaultRedeliveryDelay)
defaultRedeliveryDelay
- the new default redelivery delaypublic String getDefaultTimeToDeliver()
public ConnectionFactory setDefaultTimeToDeliver(String defaultTimeToDeliver)
defaultTimeToDeliver
- the new default time to deliverpublic Long getDefaultTimeToLive()
public ConnectionFactory setDefaultTimeToLive(Long defaultTimeToLive)
defaultTimeToLive
- the new default time to livepublic String getDefaultUnitOfOrder()
public ConnectionFactory setDefaultUnitOfOrder(String defaultUnitOfOrder)
defaultUnitOfOrder
- the new default unit of orderpublic Long getSendTimeout()
public ConnectionFactory setSendTimeout(Long sendTimeout)
sendTimeout
- the new send timeoutpublic Boolean getFlowControlEnabled()
public ConnectionFactory setFlowControlEnabled(Boolean flowControlEnabled)
flowControlEnabled
- the new valuepublic Integer getFlowInterval()
public ConnectionFactory setFlowInterval(Integer flowInterval)
flowInterval
- the new flow intervalpublic Integer getFlowMinimum()
public ConnectionFactory setFlowMinimum(Integer flowMinimum)
flowMinimum
- the newflow minimumpublic Integer getFlowMaximum()
public ConnectionFactory setFlowMaximum(Integer flowMaximum)
flowMaximum
- the new flow maximumpublic Integer getFlowSteps()
public ConnectionFactory setFlowSteps(Integer flowSteps)
flowSteps
- the new number of flow stepspublic OneWaySendMode getOneWaySendMode()
public ConnectionFactory setOneWaySendMode(OneWaySendMode oneWaySendMode)
oneWaySendMode
- the new one-way send modepublic Integer getOneWaySendWindowSize()
public ConnectionFactory setOneWaySendWindowSize(Integer oneWaySendWindowSize)
oneWaySendWindowSize
- the new window sizepublic Boolean getLoadBalancingEnabled()
public ConnectionFactory setLoadBalancingEnabled(Boolean loadBalancingEnabled)
loadBalancingEnabled
- the new valuepublic Boolean getServerAffinityEnabled()
public ConnectionFactory setServerAffinityEnabled(Boolean serverAffinityEnabled)
serverAffinityEnabled
- the new valuepublic Boolean getAttachJMSXUserId()
public ConnectionFactory setAttachJMSXUserId(Boolean attachJMSXUserId)
attachJMSXUserId
- the new valuepublic Long getTransactionTimeout()
public ConnectionFactory setTransactionTimeout(Long transactionTimeout)
transactionTimeout
- the new transaction timeout valuepublic Boolean getXaConnectionFactoryEnabled()
public ConnectionFactory setXaConnectionFactoryEnabled(Boolean xaConnectionFactoryEnabled)
xaConnectionFactoryEnabled
- the new valuepublic boolean isClientParamsEmpty()
public boolean isDefaultDeliveryParamsEmpty()
public boolean isFlowControlParamsEmpty()
public boolean isLoadBalancingParamsEmpty()
public boolean isSecurityParamsEmpty()
public boolean isTransactionParamsEmpty()
public String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()