Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JMS not converting incoming message

1003915Apr 18 2013 — edited Apr 21 2013
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

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 19 2013
Added on Apr 18 2013
2 comments
1,676 views