aspose file tools*
The moose likes Websphere and the fly likes problem in reading message for IBM MQ series using IBM MQ classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "problem in reading message for IBM MQ series using IBM MQ classes" Watch "problem in reading message for IBM MQ series using IBM MQ classes" New topic
Author

problem in reading message for IBM MQ series using IBM MQ classes

ramjcp kris
Greenhorn

Joined: Sep 05, 2005
Posts: 27
Hi All

I am new to this MQ Series. i have a requirement in which we are using IBM MQ classes
following is the code used for reading message from queue


reading from queue using following code


now msgInstring contains whole message.

now this string consists of japanese characters.
my requirement is i need to divide this string ( entire message) into multiple records say each of 180 bytes
and write these records into text file.

can any one suggest me , how can i split the entire message which is of string format
into multiple of 180 bytes (each record) and writing these records into text file.
more over this received message consits of japanese characters.
without loosing this encoding i need to achieve.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in reading message for IBM MQ series using IBM MQ classes