com.neeve.aep
Enum AepEngine.MessageHandlingPolicy

java.lang.Object
  extended by java.lang.Enum<AepEngine.MessageHandlingPolicy>
      extended by com.neeve.aep.AepEngine.MessageHandlingPolicy
All Implemented Interfaces:
Serializable, Comparable<AepEngine.MessageHandlingPolicy>
Enclosing class:
AepEngine

public static enum AepEngine.MessageHandlingPolicy
extends Enum<AepEngine.MessageHandlingPolicy>

Enumerates an engine's inbound message handling policy


Enum Constant Summary
Discard
          This policy causes inbound messages to be blindly discarded.
Noop
          This policy causes inbound messages to be discarded before dispatch to the application i.e. they are not dispatched to the application.
Normal
          This policy represents normal message processing operation.
 
Method Summary
static AepEngine.MessageHandlingPolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.MessageHandlingPolicy[] 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

Discard

public static final AepEngine.MessageHandlingPolicy Discard
This policy causes inbound messages to be blindly discarded. No acknowledgements are dispatched if received on a guaranteed channel


Noop

public static final AepEngine.MessageHandlingPolicy Noop
This policy causes inbound messages to be discarded before dispatch to the application i.e. they are not dispatched to the application. The messages are acknowledged if received on a guaranteed channel.


Normal

public static final AepEngine.MessageHandlingPolicy Normal
This policy represents normal message processing operation.

This is the default message handling policy

Method Detail

values

public static AepEngine.MessageHandlingPolicy[] 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 (AepEngine.MessageHandlingPolicy c : AepEngine.MessageHandlingPolicy.values())
    System.out.println(c);

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

valueOf

public static AepEngine.MessageHandlingPolicy valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.