Enum MessageProperty.Property

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AcknowledgeType
      Maps to System.Messaging.Message.AcknowledgeType.
      Acknowledgment
      Maps to System.Messaging.Message.Acknowledgment.
      AdministrationQueue
      Maps to System.Messaging.Message.AdministrationQueue.
      ArrivedTime
      Maps to System.Messaging.Message.ArrivedTime.
      CorrelationId
      Maps to System.Messaging.Message.CorrelationId.
      Id
      Maps to System.Messaging.Message.Id.
      Label
      Maps to System.Messaging.Message.Label.
      LookupId
      Maps to System.Messaging.Message.LookupId.
      MessageType
      Maps to System.Messaging.Message.MessageType.
      ResponseQueue
      Maps to System.Messaging.Message.ResponseQueue.
      SentTime
      Maps to System.Messaging.Message.SentTime.
      SourceMachine
      Maps to System.Messaging.Message.SourceMachine.
      TimeToBeReceived
      Maps to System.Messaging.Message.TimeToBeReceived.
      TimeToReachQueue
      Maps to System.Messaging.Message.TimeToReachQueue.
      TransactionId
      Maps to System.Messaging.Message.TransactionId.
      UseTracing
      Maps to System.Messaging.Message.UseTracing.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getField​(Message msg)  
      void setField​(java.lang.String s, Message msg)  
      static MessageProperty.Property valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MessageProperty.Property[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • AdministrationQueue

        public static final MessageProperty.Property AdministrationQueue
        Maps to System.Messaging.Message.AdministrationQueue.

        If you are attempting to retrieve the property; then only the QueueName is returned.

      • ArrivedTime

        public static final MessageProperty.Property ArrivedTime
        Maps to System.Messaging.Message.ArrivedTime.

        Attempting to set the ArrivedTime property on a message will cause an UnsupportedOperationException

      • CorrelationId

        public static final MessageProperty.Property CorrelationId
        Maps to System.Messaging.Message.CorrelationId.
      • Id

        public static final MessageProperty.Property Id
        Maps to System.Messaging.Message.Id.

        Attempting to set the Id property on a message will cause an UnsupportedOperationException

      • ResponseQueue

        public static final MessageProperty.Property ResponseQueue
        Maps to System.Messaging.Message.ResponseQueue.

        If you are attempting to retrieve the property; then only the QueueName is returned.

      • SentTime

        public static final MessageProperty.Property SentTime
        Maps to System.Messaging.Message.SentTime.

        Attempting to set the SentTime property on a message will cause an UnsupportedOperationException

      • SourceMachine

        public static final MessageProperty.Property SourceMachine
        Maps to System.Messaging.Message.SourceMachine.

        Attempting to set the SourceMachine property on a message will cause an UnsupportedOperationException

      • TimeToBeReceived

        public static final MessageProperty.Property TimeToBeReceived
        Maps to System.Messaging.Message.TimeToBeReceived.
      • TimeToReachQueue

        public static final MessageProperty.Property TimeToReachQueue
        Maps to System.Messaging.Message.TimeToReachQueue.
      • TransactionId

        public static final MessageProperty.Property TransactionId
        Maps to System.Messaging.Message.TransactionId.

        Attempting to set the TransactionId property on a message will cause an UnsupportedOperationException

    • Method Detail

      • values

        public static MessageProperty.Property[] 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 (MessageProperty.Property c : MessageProperty.Property.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MessageProperty.Property 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