Hi guys,
My problem is this: I am using log4j as my logging mechansim. But I want to log my message (a
string) to an output stream, read it off the output stream (with an input stream) and then put it onto a JMS Q.
Because a ByteArrayOutputStream is buffered this is the best choice for what I need to do. Now, I can easily place an int onto the output stream and read it off. But how do I do this with a String object?
Any help is greatly appreciated.
Regards
T