|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openadaptor.adaptor.jms.PurgeFailedMessage
public class PurgeFailedMessage
PurgeFailedMessage is a utility class to assist handling PurgeFailedMessage status.
PurgeFailedMessage takes one of three values: OFF|ONCE|MANY
The PurgeFailedMessage property controls handling when processng fails for transacted session messages, or non-transacted sessions with AcknowledgeMode set to CLIENT_ACKNOWLEDGE.
OFF - no purge of failed messages: they remain in the JMS queue
and further attempts to process them may be made
ONCE - on the next attempt to process a message which fails, purge
the failed message from the JMS Queue/Topic and reset value to OFF
MANY - on every attempt to process a message which fails, purge
the failed message from the JMS Queue/Topic (value stays set at MANY)
| Field Summary | |
|---|---|
static int |
MANY
|
static int |
OFF
|
static int |
ONCE
|
| Constructor Summary | |
|---|---|
PurgeFailedMessage()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
get(int purgeFailedMessage)
Gets value of a PurgeFailedMessage property as a string. |
static int |
parse(java.lang.String value)
Parse value of a PurgeFailedMessage property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OFF
public static final int ONCE
public static final int MANY
| Constructor Detail |
|---|
public PurgeFailedMessage()
| Method Detail |
|---|
public static int parse(java.lang.String value)
throws IbafException
PurgeFailedMessage takes one of three values: OFF|ONCE|MANY
PurgeFailedMessage controls handling when processng fails for transacted session messages, or non-transacted sessions with AcknowledgeMode set to CLIENT_ACKNOWLEDGE.
OFF - no purge of failed messages: they remain in the JMS queue
and further attempts to process them may be made
ONCE - on the next attempt to process a message which fails, purge
the failed message from the JMS Queue/Topic and reset value to OFF
MANY - on every attempt to process a message which fails, purge
the failed message from the JMS Queue/Topic (value stays set at MANY)
value - string to parse for purgeFailedMessage property.
IbafException - if illegal value.public static java.lang.String get(int purgeFailedMessage)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||