0 Replies Latest reply on Mar 5, 2003 3:07 AM by amapumu

    Help, JMS!!!!

    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 they?

      Any and all information will be gladly accepted by me.

      Thanks in advance for all your help.

      Angel M.