fix for AMQ-1978

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@704508 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2008-10-14 12:15:36 +00:00
parent ae1bb668d6
commit 117cf0209e
1 changed files with 8 additions and 0 deletions

View File

@ -146,4 +146,12 @@ public class ActiveMQTextMessage extends ActiveMQMessage implements TextMessage
}
return super.getSize();
}
public String toString() {
try {
getText();
} catch (JMSException e) {
}
return super.toString();
}
}