|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--com.ibm.mqe.MQeFields | +--com.ibm.mqe.MQeMsgObject | +--com.ibm.mqe.MQeAdminMsg | +--com.ibm.mqe.administration.MQeQueueAdminMsg | +--com.ibm.mqe.administration.MQeRemoteQueueAdminMsg
This class is used to manage Websphere MQ Everyplace remote queues queues.
The class extends MQeQueueAdminMsg
which
provides most of the administration capability for queues. This class adds
additional actions and features for managing remote queues.
Remote queues are references to queues that reside on a queue manager that is remote to where the remote queue is defined. The remote queue has the same name as the target queue but the remote queue definition identifies the owning or target queue manager of the real queue.
A remote queue can act in one of type modes:
Many of the basic characteristics of a remote queue like the authenticator, cryptor and compressor should match those of the target queue. If there is a mismatch, the request from the remote queue to the target queue can be rejected, for instance, if security is compromised. Other characteristics like max queue depth and rules may vary to allow better control of the number of messages allowed on the remote queue and when they are transmitted.
For information on basic administration concepts see MQeAdminMsg
and for basic information on managing queues see
MQeQueueAdminMsg
.
Field Summary | |
static java.lang.String |
Queue_CloseIdle
String used to identify the field in the message which determines if the queue should be closed when idle. |
static java.lang.String |
Queue_DefaultTransporter
|
static java.lang.String |
Queue_Transporter
String used to identify the field in the message representing the type of transporter. |
static java.lang.String |
Queue_TransporterXOR
String used to identify the field in the message which determines if the transporter should use XOR compression. |
Fields inherited from class com.ibm.mqe.administration.MQeQueueAdminMsg |
Queue_Active, Queue_Asynchronous, Queue_AttrRule, Queue_Authenticator, Queue_Compressor, Queue_CreationDate, Queue_Cryptor, Queue_CurrentSize, Queue_Description, Queue_Expiry, Queue_FileDesc, Queue_MaxMsgSize, Queue_MaxQSize, Queue_Mode, Queue_NoLimit, Queue_Priority, Queue_QAliasNameList, Queue_QMgrName, Queue_RegistryNone, Queue_RegistryQMgr, Queue_RegistryQueue, Queue_Rule, Queue_Synchronous, Queue_TargetRegistry |
Fields inherited from class com.ibm.mqe.MQeAdminMsg |
Action_AddAlias, Action_Create, Action_Delete, Action_Inquire, Action_InquireAll, Action_RemoveAlias, Action_Start, Action_Stop, Action_Unknown, Action_Update, Admin_Action, Admin_Class, Admin_Errors, Admin_MaxAttempts, Admin_Name, Admin_Parms, Admin_RC, Admin_Reason, Admin_TargetQMgr, RC_Fail, RC_Mixed, RC_Success |
Fields inherited from class com.ibm.mqe.MQeFields |
ArraySeparator, TypeArrayElements, TypeAscii, TypeBoolean, TypeByte, TypeDouble, TypeFields, TypeFloat, TypeInt, TypeLong, TypeShort, TypeUnicode, TypeUnTyped |
Constructor Summary | |
MQeRemoteQueueAdminMsg()
Default constructor. |
|
MQeRemoteQueueAdminMsg(java.lang.String qMgrName,
java.lang.String qName)
This constructor takes the name of the queue that is to be managed and puts it into the admin msg. |
Methods inherited from class com.ibm.mqe.administration.MQeQueueAdminMsg |
addAlias, changeAlias, removeAlias, setName |
Methods inherited from class com.ibm.mqe.MQeAdminMsg |
characteristics, create, delete, duplicate, getAction, getErrorFields, getFieldInError, getInputFields, getMaxAttempts, getName, getOutputFields, getRC, getReason, getTargetQMgr, inquire, inquireAll, setAction, setMaxAttempts, setName, setTargetQMgr, update |
Methods inherited from class com.ibm.mqe.MQeMsgObject |
getMsgUIDFields, getOriginQMgr, getTimeStamp, putOriginQMgr, resetMsgUIDFields, unwrapMsgObject |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String Queue_Transporter
When moving messages to the next hop or target queue, the remote
queue uses a transporter. By default the transporter is
set to Queue_DefaultTransporter
, the transporter class or alias can
be changed using this field.
The field is of type ascii.
Queue_DefaultTransporter
,
Constant Field Valuespublic static final java.lang.String Queue_DefaultTransporter
public static final java.lang.String Queue_TransporterXOR
If set to true when messages are moved across a network each field in a message is XORed with a field of the same name (if it exists) in the previous message that the transporter moved. This allows a compressor to do a better job of compressing the message. The default is true.
The field is of type boolean.
Queue_Transporter
,
Constant Field Valuespublic static final java.lang.String Queue_CloseIdle
For a remote asynchronous queue, the transporter will be closed once all messages have been transmitted.
The field is of type boolean.
Constructor Detail |
public MQeRemoteQueueAdminMsg() throws java.lang.Exception
public MQeRemoteQueueAdminMsg(java.lang.String qMgrName, java.lang.String qName) throws java.lang.Exception
This constructor uses the MQeQueueAdminMsg.setName(String,String)
method to
put the name into the administratoin message parameters field
qMgrName
- name of the target queue managerqName
- name of the Queue
java.lang.Exception
MQeQueueAdminMsg.setName(String, String)
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |