object.put("state",entry.isAvailable()
? "Available"
: entry.isAcquired()
? "Acquired"
: "");
final ConsumerImpl deliveredConsumer = entry.getDeliveredConsumer();
object.put("deliveredTo", deliveredConsumer == null ? null : deliveredConsumer.getConsumerNumber());
ServerMessage message = entry.getMessage();
if(message != null)
{
convertMessageProperties(object, message);