ARTEMIS-2540 Display LargeMessage column in message browser of admin UI
This commit is contained in:
parent
2e31e04bb4
commit
318c26cde7
|
@ -63,6 +63,11 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
field: 'redelivered',
|
||||
displayName: 'Redelivered',
|
||||
width: '10%'
|
||||
},
|
||||
{
|
||||
field: 'largeMessage',
|
||||
displayName: 'Large',
|
||||
width: '10%'
|
||||
}
|
||||
];
|
||||
var attributes = defaultAttributes;
|
||||
|
|
|
@ -29,6 +29,7 @@ public interface CompositeDataConstants {
|
|||
String TIMESTAMP = "timestamp";
|
||||
String BODY = "BodyPreview";
|
||||
String TEXT_BODY = "text";
|
||||
String LARGE_MESSAGE = "largeMessage";
|
||||
String PROPERTIES = "PropertiesText";
|
||||
|
||||
String ADDRESS_DESCRIPTION = "The Address";
|
||||
|
@ -41,6 +42,7 @@ public interface CompositeDataConstants {
|
|||
String REDELIVERED_DESCRIPTION = "Has the message been redelivered";
|
||||
String TIMESTAMP_DESCRIPTION = "The message timestamp";
|
||||
String BODY_DESCRIPTION = "The message body";
|
||||
String LARGE_MESSAGE_DESCRIPTION = "Is the message treated as a large message";
|
||||
String PROPERTIES_DESCRIPTION = "The properties text";
|
||||
|
||||
// User properties
|
||||
|
|
|
@ -108,6 +108,7 @@ public final class OpenTypeSupport {
|
|||
addItem(CompositeDataConstants.PRIORITY, CompositeDataConstants.PRIORITY_DESCRIPTION, SimpleType.BYTE);
|
||||
addItem(CompositeDataConstants.REDELIVERED, CompositeDataConstants.REDELIVERED_DESCRIPTION, SimpleType.BOOLEAN);
|
||||
addItem(CompositeDataConstants.TIMESTAMP, CompositeDataConstants.TIMESTAMP_DESCRIPTION, SimpleType.STRING);
|
||||
addItem(CompositeDataConstants.LARGE_MESSAGE, CompositeDataConstants.LARGE_MESSAGE_DESCRIPTION, SimpleType.BOOLEAN);
|
||||
|
||||
addItem(CompositeDataConstants.PROPERTIES, CompositeDataConstants.PROPERTIES_DESCRIPTION, SimpleType.STRING);
|
||||
|
||||
|
@ -148,6 +149,7 @@ public final class OpenTypeSupport {
|
|||
rc.put(CompositeDataConstants.TIMESTAMP, dateFormat.format(new Date(m.getTimestamp())));
|
||||
rc.put(CompositeDataConstants.PRIORITY, m.getPriority());
|
||||
rc.put(CompositeDataConstants.REDELIVERED, ref.getDeliveryCount() > 1);
|
||||
rc.put(CompositeDataConstants.LARGE_MESSAGE, m.isLargeMessage());
|
||||
|
||||
Map<String, Object> propertyMap = m.toPropertyMap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue