private Object getHeaderFieldReferences(JBossMessage mess, String idName)
private Object getHeaderFieldReferences(Message mess, String idName)
   private Object getHeaderFieldReferences(JBossMessage mess, String idName)      throws JMSException   {      // JMS 3.8.1.1 -- Message header field references are restricted to:      //                JMSDeliveryMode, JMSPriority, JMSMessageID,      //                JMSTimeStamp, JMSCorrelationID and JMSType      //      if (idName.equals("JMSDeliveryMode"))         return new Integer(mess.getJMSDeliveryMode());      else if (idName.equals("JMSPriority"))         return new Integer(mess.getJMSPriority());      else if (idName.equals("JMSMessageID"))         return mess.getJMSMessageID();      else if (idName.equals("JMSTimestamp"))         return new Long(mess.getJMSTimestamp());      else if (idName.equals("JMSCorrelationID"))         return mess.getJMSCorrelationID();      else if (idName.equals("JMSType"))         return mess.getJMSType();      else         return null;   }