diff --git a/activemq-web-console/src/main/java/org/apache/activemq/web/controller/SendMessage.java b/activemq-web-console/src/main/java/org/apache/activemq/web/controller/SendMessage.java index e72b43652b..6468ba14fc 100644 --- a/activemq-web-console/src/main/java/org/apache/activemq/web/controller/SendMessage.java +++ b/activemq-web-console/src/main/java/org/apache/activemq/web/controller/SendMessage.java @@ -150,6 +150,14 @@ public class SendMessage extends DestinationFacade implements Controller { JMSMessageCount = copies; } + public String getJMSMessageCountHeader() { + return JMSMessageCountHeader; + } + + public void setJMSMessageCountHeader(String messageCountHeader) { + JMSMessageCountHeader = messageCountHeader; + } + // Implementation methods // ------------------------------------------------------------------------- protected Message createMessage(WebClient client, HttpServletRequest request) throws JMSException { diff --git a/activemq-web-console/src/main/webapp/message.jsp b/activemq-web-console/src/main/webapp/message.jsp index a1e53e751b..771f344781 100644 --- a/activemq-web-console/src/main/webapp/message.jsp +++ b/activemq-web-console/src/main/webapp/message.jsp @@ -30,7 +30,7 @@ No message could be found for ID ${requestContext.messageQuery.JMSMessageID}