|
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.MQeRule | +--examples.mqbridge.rules.MQeSyncQueuePurgerRule
To be a model rules class for the sync queue purger. This is the basic class from which dictates what action to take upon messages that are on the sync queue. Whenever purging of the sync queue takes place, the bridge calls the permit() method for each unconfirmed message that is currently on the sync queue. This rules class then decides if this is an old message that is no longer relevant, and thus if it can be safely purged by the bridge.
This class simply generates warnings for any messages that are over ten minutes old.
Field Summary | |
static short[] |
version
|
Constructor Summary | |
MQeSyncQueuePurgerRule()
|
Method Summary | |
java.lang.Object |
permit(java.lang.Object messageO,
java.lang.Object ageO,
java.lang.Object syncQNameO)
Decides whether a given message can be deleted. |
Methods inherited from class com.ibm.mqe.MQeRule |
activate, close, newRule |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
Constructor Detail |
public MQeSyncQueuePurgerRule()
Method Detail |
public java.lang.Object permit(java.lang.Object messageO, java.lang.Object ageO, java.lang.Object syncQNameO) throws java.lang.Exception
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |