return strbuf.toString();
}
public Properties getMessageHeader(String subName,
String msgId) throws AdminException, ConnectException, JMSException {
GetSubscriptionMessageRep reply =
(GetSubscriptionMessageRep) doRequest(new GetSubscriptionMessage(proxyId, subName, msgId, false));
Message msg = Message.wrapMomMessage(null, reply.getMessage());
Properties prop = new Properties();
prop.setProperty("JMSMessageID", msg.getJMSMessageID());
prop.setProperty("JMSDestination", msg.getJMSDestination().toString());
if (msg.getJMSCorrelationID() != null)