Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference
E14011-02

oracle.sdp.messaging
Enum MessageReliabilityType

java.lang.Object
  extended by java.lang.Enum<MessageReliabilityType>
      extended by oracle.sdp.messaging.MessageReliabilityType
All Implemented Interfaces:
Serializable, java.lang.Comparable<MessageReliabilityType>

public enum MessageReliabilityType
extends java.lang.Enum<MessageReliabilityType>

MessageReliabilityType enumerates all available reliability types for sending messages in the SDP Messaging. This property can be set in the MessageInfo associated with a Message.

Sample Usage: Message.getMessageInfo().setReliability(MessageReliabilityType.RELIABLE);

Since:
11.0.0

Enum Constant Summary
NOT_RELIABLE
          Not reliable reliability level.
RELIABLE
          Reliable reliability level.
 
Method Summary
static MessageReliabilityType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MessageReliabilityType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_RELIABLE

public static final MessageReliabilityType NOT_RELIABLE
Not reliable reliability level. In case of failure of delivery, Messaging will not attempt to deliver the message again.


RELIABLE

public static final MessageReliabilityType RELIABLE
Reliable reliability level. In case of failure of delivery, messages marked RELIABLE will be retried a configurable number of times before giving up.

Method Detail

valueOf

public static MessageReliabilityType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static MessageReliabilityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MessageReliabilityType c : MessageReliabilityType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference
E14011-02

Copyright © 2010 Oracle and/or its affiliates. All rights reserved.