mirror of https://github.com/apache/activemq.git
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:
parent
ae1bb668d6
commit
117cf0209e
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue