Destination
public interface Destination
Subinterfaces: Queue, TemporaryQueue, TemporaryTopic, and Topic
WebSphere MQ class: MQDestination
java.lang.Object | +----com.ibm.mq.jms.MQDestinationThe Destination object encapsulates provider-specific addresses.
See also: Queue, TemporaryQueue, TemporaryTopic, and Topic
WebSphere MQ constructors
- MQDestination
public MQDestination()
Methods
- getCCSID *
public int getCCSID()
Get the name of the character set that is used by this destination.
- getDescription *
public String getDescription()
Get the description of the object.
- getEncoding *
public int getEncoding()
Get the encoding that is used for this destination.
- getExpiry *
public int getExpiry()
Get the value of the expiry for this destination.
- getFailIfQuiesce *
public int getFailIfQuiesce()Get the behavior of applications accessing a quiescing queue manager with this destination.
- getPersistence *
public int getPersistence()
Get the value of the persistence for this destination.
- getPriority *
public int getPriority()
Get the override priority value.
- getTargetClient *
public int getTargetClient()
Get the JMS compliance indicator flag.
- setCCSID *
public void setCCSID(int x) throws JMSException
Character set to be used to encode text strings in messages sent to this destination. See Table 13 for a list of allowed values. The default value is 1208 (UTF8).
- setDescription *
public void setDescription(String x)
A short description of the object.
- setEncoding *
public void setEncoding(int x) throws JMSException
The encoding to be used for numeric fields in messages sent to this destination. See Table 13 for a list of allowed values.
- setExpiry *
public void setExpiry(int expiry) throws JMSException
Override the expiry of all messages sent to this destination.
- setFailIfQuiesce *
public void setFailIfQuiesce(int fiqValue) throws JMSExceptionSet the behavior of applications accessing a quiescing queue manager with this destination.
Takes values of:
- JMSC.MQJMS_FIQ_YES (default)
- JMSC.MQJMS_FIQ_NO
- setPersistence *
public void setPersistence(int persistence) throws JMSException
Override the persistence of all messages sent to this destination.
- setPriority *
public void setPriority(int priority) throws JMSException
Override the priority of all messages sent to this destination.
- setTargetClient *
public void setTargetClient(int targetClient) throws JMSException
Whether the remote application is JMS compliant.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.