mirror of https://github.com/apache/activemq.git
print message properties with with toString()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@704544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
117cf0209e
commit
d33adc961c
|
@ -719,4 +719,12 @@ public abstract class Message extends BaseCommand implements MarshallAware, Mess
|
|||
public boolean isDropped() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
try {
|
||||
getProperties();
|
||||
} catch (IOException e) {
|
||||
}
|
||||
return super.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue