public class JMSTemplate extends DestinationTunables
Modifier and Type | Field and Description |
---|---|
static String |
JMS_TEMPLATE_TOKEN
The alias token used in the alias' WLST path for replacing with the JMSTemplate name.
|
attachSender, consumptionPausedAtStartup, defaultUnitOfOrder, destinationKeys, incompleteWorkExpirationTime, insertionPausedAtStartup, maximumMessageSize, messagePerformancePreference, name, notes, productionPausedAtStartup, quota, safExportPolicy, unitOfWorkHandlingPolicy
Constructor and Description |
---|
JMSTemplate() |
Modifier and Type | Method and Description |
---|---|
String |
getGroupParamsErrorDestination()
Get the Error destination specified as part of the GroupParams folder.
|
String |
getId()
Get the id.
|
String |
getSubDeploymentName()
Get the sub-deployment name.
|
boolean |
isGroupParamsEmpty()
Determines whether or not the fields from the GroupParams folder are empty (i.e., not set).
|
JMSTemplate |
setAttachSender(AttachSender attachSender)
Set the attach sender configuration.
|
JMSTemplate |
setBytesHigh(Long bytesHigh)
Set the number of bytes high threshold.
|
JMSTemplate |
setBytesLow(Long bytesLow)
Set the number of bytes low threshold.
|
JMSTemplate |
setConsumptionPausedAtStartup(Boolean consumptionPausedAtStartup)
Set whether or not message consumption is paused at server startup.
|
JMSTemplate |
setDefaultUnitOfOrder(Boolean defaultUnitOfOrder)
Set the default unit of order.
|
JMSTemplate |
setDeliveryMode(DeliveryMode deliveryMode)
Set the message delivery mode.
|
JMSTemplate |
setDestinationKeys(List<String> destinationKeys)
Set the list of destination keys.
|
JMSTemplate |
setErrorDestination(String errorDestination)
Set the error destination.
|
JMSTemplate |
setExpirationLoggingPolicy(String expirationLoggingPolicy)
Set the message expiration logging policy.
|
JMSTemplate |
setExpirationPolicy(ExpirationPolicy expirationPolicy)
Set the message expiration policy.
|
JMSTemplate |
setGroupParamsErrorDestination(String groupParamsErrorDestination)
Set the Error destination specified as part of the GroupParams folder.
|
JMSTemplate |
setId(String id)
Set the id.
|
JMSTemplate |
setIncompleteWorkExpirationTime(Integer incompleteWorkExpirationTime)
Set the incomplete work expiration time.
|
JMSTemplate |
setInsertionPausedAtStartup(Boolean insertionPausedAtStartup)
Set whether or not message insertion is paused at server startup.
|
JMSTemplate |
setMaximumMessageSize(Integer maximumMessageSize)
Set the maximum message size.
|
JMSTemplate |
setMessageLoggingEnabled(Boolean messageLoggingEnabled)
Set whether or not message logging is enabled.
|
JMSTemplate |
setMessageLoggingFormat(String messageLoggingFormat)
Set the message logging format.
|
JMSTemplate |
setMessagePerformancePreference(MessagePerformancePreference messagePerformancePreference)
Set the message performance preference.
|
JMSTemplate |
setMessagesHigh(Long messagesHigh)
Set the number of messages high threshold.
|
JMSTemplate |
setMessagesLow(Long messagesLow)
Set the number of messages low threshold.
|
JMSTemplate |
setName(String name)
Set the name.
|
JMSTemplate |
setNotes(String notes)
Set the notes.
|
JMSTemplate |
setPriority(Integer priority)
Set the message priority.
|
JMSTemplate |
setProductionPausedAtStartup(Boolean productionPausedAtStartup)
Set whether or not message production is paused at server startup.
|
JMSTemplate |
setQuota(String quota)
Set the quota.
|
JMSTemplate |
setRedeliveryDelay(Long redeliveryDelay)
Set the message redelivery delay.
|
JMSTemplate |
setRedeliveryLimit(Integer redeliveryLimit)
Set the message redelivery limit.
|
JMSTemplate |
setSafExportPolicy(SAFExportPolicy safExportPolicy)
Set the SAF export policy.
|
JMSTemplate |
setSubDeploymentName(String subDeploymentName)
Set the sub-deployment name.
|
JMSTemplate |
setTimeToDeliver(String timeToDeliver)
Set the time to deliver.
|
JMSTemplate |
setTimeToLive(Long timeToLive)
Set the time to live.
|
JMSTemplate |
setUnitOfWorkHandlingPolicy(UnitOfWorkHandlingPolicy unitOfWorkHandlingPolicy)
Set the unit of work handling policy.
|
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.
|
getAttachSender, getBytesHigh, getBytesLow, getConsumptionPausedAtStartup, getDefaultUnitOfOrder, getDeliveryMode, getDestinationKeys, getErrorDestination, getExpirationLoggingPolicy, getExpirationPolicy, getIncompleteWorkExpirationTime, getInsertionPausedAtStartup, getMaximumMessageSize, getMessageLoggingEnabled, getMessageLoggingFormat, getMessagePerformancePreference, getMessagesHigh, getMessagesLow, getName, getNotes, getPriority, getProductionPausedAtStartup, getQuota, getRedeliveryDelay, getRedeliveryLimit, getSafExportPolicy, getTimeToDeliver, getTimeToLive, getUnitOfWorkHandlingPolicy, isDeliveryFailureParamsEmpty, isDeliveryParamsOverridesEmpty, isMessageLoggingParamsEmpty, isThresholdsEmpty
public static final String JMS_TEMPLATE_TOKEN
public String getId()
public JMSTemplate setId(String id)
id
- the id to setpublic String getGroupParamsErrorDestination()
public JMSTemplate setGroupParamsErrorDestination(String groupParamsErrorDestination)
groupParamsErrorDestination
- the new Error destinationpublic String getSubDeploymentName()
public JMSTemplate setSubDeploymentName(String subDeploymentName)
subDeploymentName
- the new sub-deployment namepublic boolean isGroupParamsEmpty()
public JMSTemplate setAttachSender(AttachSender attachSender)
setAttachSender
in class DestinationTunables
attachSender
- the new attach sender configurationpublic JMSTemplate setConsumptionPausedAtStartup(Boolean consumptionPausedAtStartup)
setConsumptionPausedAtStartup
in class DestinationTunables
consumptionPausedAtStartup
- the new valuepublic JMSTemplate setDefaultUnitOfOrder(Boolean defaultUnitOfOrder)
setDefaultUnitOfOrder
in class DestinationTunables
defaultUnitOfOrder
- the new default unit of orderpublic JMSTemplate setDestinationKeys(List<String> destinationKeys)
setDestinationKeys
in class DestinationTunables
destinationKeys
- the new listpublic JMSTemplate setIncompleteWorkExpirationTime(Integer incompleteWorkExpirationTime)
setIncompleteWorkExpirationTime
in class DestinationTunables
incompleteWorkExpirationTime
- the new valuepublic JMSTemplate setInsertionPausedAtStartup(Boolean insertionPausedAtStartup)
setInsertionPausedAtStartup
in class DestinationTunables
insertionPausedAtStartup
- the new valuepublic JMSTemplate setMaximumMessageSize(Integer maximumMessageSize)
setMaximumMessageSize
in class DestinationTunables
maximumMessageSize
- the new maximum message sizepublic JMSTemplate setMessagePerformancePreference(MessagePerformancePreference messagePerformancePreference)
setMessagePerformancePreference
in class DestinationTunables
messagePerformancePreference
- the new valuepublic JMSTemplate setName(String name)
setName
in class DestinationTunables
name
- the new namepublic JMSTemplate setNotes(String notes)
setNotes
in class DestinationTunables
notes
- the new valuepublic JMSTemplate setProductionPausedAtStartup(Boolean productionPausedAtStartup)
setProductionPausedAtStartup
in class DestinationTunables
productionPausedAtStartup
- the new valuepublic JMSTemplate setQuota(String quota)
setQuota
in class DestinationTunables
quota
- the new quotapublic JMSTemplate setSafExportPolicy(SAFExportPolicy safExportPolicy)
setSafExportPolicy
in class DestinationTunables
safExportPolicy
- the new SAF export policypublic JMSTemplate setUnitOfWorkHandlingPolicy(UnitOfWorkHandlingPolicy unitOfWorkHandlingPolicy)
setUnitOfWorkHandlingPolicy
in class DestinationTunables
unitOfWorkHandlingPolicy
- the new unit of work handling policypublic JMSTemplate setErrorDestination(String errorDestination)
setErrorDestination
in class DestinationTunables
errorDestination
- the new valuepublic JMSTemplate setExpirationLoggingPolicy(String expirationLoggingPolicy)
setExpirationLoggingPolicy
in class DestinationTunables
expirationLoggingPolicy
- the new valuepublic JMSTemplate setExpirationPolicy(ExpirationPolicy expirationPolicy)
setExpirationPolicy
in class DestinationTunables
expirationPolicy
- the new message expiration policypublic JMSTemplate setRedeliveryLimit(Integer redeliveryLimit)
setRedeliveryLimit
in class DestinationTunables
redeliveryLimit
- the new message redelivery limitpublic JMSTemplate setDeliveryMode(DeliveryMode deliveryMode)
setDeliveryMode
in class DestinationTunables
deliveryMode
- the new message delivery modepublic JMSTemplate setPriority(Integer priority)
setPriority
in class DestinationTunables
priority
- the new message prioritypublic JMSTemplate setRedeliveryDelay(Long redeliveryDelay)
setRedeliveryDelay
in class DestinationTunables
redeliveryDelay
- the new message redelivery delaypublic JMSTemplate setTimeToDeliver(String timeToDeliver)
setTimeToDeliver
in class DestinationTunables
timeToDeliver
- the new time to deliverpublic JMSTemplate setTimeToLive(Long timeToLive)
setTimeToLive
in class DestinationTunables
timeToLive
- the new time to livepublic JMSTemplate setMessageLoggingEnabled(Boolean messageLoggingEnabled)
setMessageLoggingEnabled
in class DestinationTunables
messageLoggingEnabled
- the new valuepublic JMSTemplate setMessageLoggingFormat(String messageLoggingFormat)
setMessageLoggingFormat
in class DestinationTunables
messageLoggingFormat
- the new message logging formatpublic JMSTemplate setBytesHigh(Long bytesHigh)
setBytesHigh
in class DestinationTunables
bytesHigh
- the new number of bytes high thresholdpublic JMSTemplate setBytesLow(Long bytesLow)
setBytesLow
in class DestinationTunables
bytesLow
- the new number of bytes low thresholdpublic JMSTemplate setMessagesHigh(Long messagesHigh)
setMessagesHigh
in class DestinationTunables
messagesHigh
- the number of messages high thresholdpublic JMSTemplate setMessagesLow(Long messagesLow)
setMessagesLow
in class DestinationTunables
messagesLow
- the new number of messages low thresholdpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()