From 50c6d9ccc8ed923768d6cf6ba41990b474d51752 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Sun, 29 Jul 2007 08:56:54 +0000 Subject: [PATCH] A message is a message isMessage() git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560695 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/activemq/command/Message.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activemq-core/src/main/java/org/apache/activemq/command/Message.java b/activemq-core/src/main/java/org/apache/activemq/command/Message.java index 7d6c9cf322..fef94a7b58 100755 --- a/activemq-core/src/main/java/org/apache/activemq/command/Message.java +++ b/activemq-core/src/main/java/org/apache/activemq/command/Message.java @@ -626,4 +626,8 @@ abstract public class Message extends BaseCommand implements MarshallAware, Mess public void setCluster(BrokerId[] cluster) { this.cluster = cluster; } + + public boolean isMessage() { + return true; + } }