com.ibm.mq.headers

Interface MQHeader.Field

  • Enclosing interface:
    MQHeader


    public static interface MQHeader.Field
    Interface representing an individual header field. A field has a name, a type, and a value. This interface is only used for dynamic introspection by applications manipulating arbitrary headers.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns:
        the field name.
      • getType

        java.lang.String getType()
        Returns:
        the field type. This will be MQLONG, MQCHAR, MQBYTE etc.
      • getValue

        java.lang.Object getValue()
        Returns:
        the field value. This will be a String, String [], Integer, int [], byte [] or MQHeader according to the field type.
      • setValue

        void setValue(java.lang.Object value)
        Sets the field value. This will be a String, String [], Integer, int [], byte [] or MQHeader according to the field type.
        Parameters:
        value -
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.