WebSphere Application Server Network Deployment, Version 6.1
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

MessageConverter class

The com.ibm.websphere.logging.MessageConverter class provides a method to convert a message ID at the front of a String into either a new message ID or an old message ID. The direction of the conversion is controlled with the conversionType argument.

Use the MessageConverter class with log analysis tools to convert message IDs from earlier versions of WebSphere® Application Server into the corresponding message IDs that are used in later releases, or to revert message IDs to an earlier format. For list of message ID mappings, see Messages .

Method

public static java.lang.String convert(java.lang.String in, short conversionType)

Parameters

Use the following parameters with the MessageConverter class:

Parameter Name Description
in The message to convert. The method assumes the message ID is the first part of the supplied message with no leading white space.
conversionType CONVERSION_TYPE_WASV5_TO_WASV6
  CONVERSION_TYPE_WASV6_TO_WASV5



Related tasks
Converting log files to use IBM unique Message IDs
Related reference
convertlog command
Reference topic    

Terms of Use | Feedback

Last updated: Feb 25, 2009 9:32:38 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/rtrb_msgconvert.html