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:
Bosanac Dejan 2008-10-14 14:05:52 +00:00
parent 117cf0209e
commit d33adc961c
1 changed files with 8 additions and 0 deletions

View File

@ -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();
}
}