2 Replies Latest reply: Apr 21, 2013 6:25 PM by 1003915 RSS

    JMS not converting incoming message

    1003915
      Hi All,

      Am working on a System which is in JMS, which reads messages from WebSphere MQ. We are getting messages in EBCDIC format for eg - in place of blank we are getting 40.

      Earlier it was working fine, we started using Jdk1.6 and this started showing up. Following code should do the conversion I believe -

      try {
      String sChangeMessage = ((TextMessage) message).getText();

      }
      catch (JMSException ex) {
      LOG.error(ex.getMessage());
      }

      but its not working, no exceptions. Can anyone help here. Thanks in advance

      Edited by: user8819059 on Apr 18, 2013 6:02 AM

      Edited by: user8819059 on Apr 18, 2013 6:02 AM