2 Replies Latest reply on Oct 19, 2015 10:35 AM by Philippe Marschall

    JMS timestamps wrong with WebSphere MQ

    Philippe Marschall Expert

      When sending JMS messages the JMS timestamps we see on the client are all in January of 1970.

      Our code roughly looks like this:

       

      try (JMSContext context = this.connectionFactory.createContext()) {
        JMSProducer producer = context.createProducer();
        TextMessage message = context.createTextMessage(this.createMessageString());
        producer.send(this.queue, message);
      }
      

       

      We do not explicitly call Message#setJMSTimestamp. It is our understanding that we should not call this method.

       

      We are using WildFly 9.0.1 and the IBM WebSphere MQ 8.0.0.3 RAR.