rajith77 / qpid

Mirror of Apache Qpid
0 stars 0 forks source link

Printing out message misses '\n' after headers #3

Open pmoravec opened 11 years ago

pmoravec commented 11 years ago

Currently you see output like:

.. JMS Redelivered: false Properties: { BlockSize = 10 Blocks = 3 }Body:{{prop2=val2, prop1=1, prop0=val0}} ..

or:

JMS Redelivered: false Properties:Body:{{prop2=val2, prop1=1, prop0=val0}}

Trivial patch:

diff -r qpid-trunk-orig/qpid/java/amqp-0-10-client-jms/src/main/java/org/apache/qpid/amqp_0_10/jms/impl/MessageImpl.java qpid-trunk/qpid/java/amqp-0-10-client-jms/src/main/java/org/apache/qpid/amqp_0_10/jms/impl/MessageImpl.java 1013c1013

< buf.append("");

        buf.append("<NONE>\n");

1024c1024

< buf.append("}");

        buf.append("}\n");