Add some more tracing capabilities

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-05-30 23:22:16 +00:00
parent 03a2c5e81e
commit 059258b195
1 changed files with 4 additions and 0 deletions

View File

@ -516,6 +516,10 @@ class AmqpProtocolConverter {
message.setMessageId(new MessageId(producerId, messageIdGenerator.getNextSequenceId()));
}
if (LOG.isTraceEnabled()) {
LOG.trace("Inbound Message:{} from Producer:{}", message.getMessageId(), producerId);
}
DeliveryState remoteState = delivery.getRemoteState();
if (remoteState != null && remoteState instanceof TransactionalState) {
TransactionalState s = (TransactionalState) remoteState;