Posted: Tue Sep 30, 2008 11:18 am Post subject: MQMessage.readString() deprecated, but by what?
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
I tried to javac an year old mq-base java class. But I got the compiler warning:
>javac -Xlint:deprecation mqGetMsg.java
mqGetMsg.java:153: warning: [deprecation] readString(int) in com.ibm.mq.MQMessage has been deprecated
msgText = replyMsg.readString(replyMsg.getMessageLength());
^
1 warning
I found a few postings over this problem, but have found no result.
Anyone know a solution about this?
The v6.0 mq infocenter didn't say the method had been deprecated though. _________________ pcelari
-----------------------------------------
- a master of always being a newbie
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum