You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/02/25 02:02:29 UTC

[GitHub] [activemq-artemis] clebertsuconic commented on a change in pull request #3466: ARTEMIS-3137 support XPath filters

clebertsuconic commented on a change in pull request #3466:
URL: https://github.com/apache/activemq-artemis/pull/3466#discussion_r582436640



##########
File path: artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
##########
@@ -1271,4 +1271,14 @@ public Object getOwner() {
    public void setOwner(Object object) {
       this.owner = object;
    }
+
+   @Override
+   public String getStringBody() {

Review comment:
       I think you check CoreMessage.type before you do this 
   
   That is... if (type != Message.TEXT_TYPE) return null;




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org