0 Replies Latest reply on Feb 28, 2003 4:55 AM by amapumu

    JMS Defined Properties

    amapumu

      Hi
      I'm trying to read JSMX properties from a JMS message that is stored in a queue.
      I use a MDB to recover the message and them:

      public void onMessage(javax.jms.Message message) {
      ...
      Enumeration names = message.getPropertyNames();
      while (names.hasMoreElements()) {
      System.out.println((String)names.nextElement());
      }


      But 'names' takes the value 'null'.

      If I make:
      System.out.println(
      message.getLongProperty("JMSXRcvTimestamp"));


      I recive the same result.
      I've read that the support of these properties is optional, JBoss supports then?

      Any and all information will be gladly accepted by me.

      Thanks in advance for all your help.

      Angel M.