org.controlhaus.jms
Enum JMSControl.HeaderType

Object
  extended by Enum<JMSControl.HeaderType>
      extended by JMSControl.HeaderType
All Implemented Interfaces:
Serializable, Comparable<JMSControl.HeaderType>
Enclosing interface:
JMSControl

public static enum JMSControl.HeaderType
extends Enum<JMSControl.HeaderType>

The header type. Corresponds to the JMS* bean properties on a JMS message.


Enum Constant Summary
JMSCorrelationID
          see javax.jms.Message.getJMSCorrelationID()
JMSDeliveryMode
          see javax.jms.Message.getJMSDeliveryMode
JMSExpiration
          see javax.jms.Message.getJMSExpiration
JMSMessageID
          see javax.jms.Message.getJMSMessageID
JMSPriority
          see javax.jms.Message.getJMSPriority
JMSRedelivered
          see javax.jms.Message.getJMSRedelivered
JMSTimestamp
          see javax.jms.Message.getJMSTimestamp
JMSType
          see javax.jms.Message.getJMSType
 
Method Summary
static JMSControl.HeaderType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JMSControl.HeaderType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JMSCorrelationID

public static final JMSControl.HeaderType JMSCorrelationID
see javax.jms.Message.getJMSCorrelationID()


JMSDeliveryMode

public static final JMSControl.HeaderType JMSDeliveryMode
see javax.jms.Message.getJMSDeliveryMode


JMSPriority

public static final JMSControl.HeaderType JMSPriority
see javax.jms.Message.getJMSPriority


JMSExpiration

public static final JMSControl.HeaderType JMSExpiration
see javax.jms.Message.getJMSExpiration


JMSMessageID

public static final JMSControl.HeaderType JMSMessageID
see javax.jms.Message.getJMSMessageID


JMSType

public static final JMSControl.HeaderType JMSType
see javax.jms.Message.getJMSType


JMSRedelivered

public static final JMSControl.HeaderType JMSRedelivered
see javax.jms.Message.getJMSRedelivered


JMSTimestamp

public static final JMSControl.HeaderType JMSTimestamp
see javax.jms.Message.getJMSTimestamp

Method Detail

values

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

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

valueOf

public static JMSControl.HeaderType 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