[
https://issues.apache.org/jira/browse/ARTEMIS-3137?focusedWorklogId=557994&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-557994
]
ASF GitHub Bot logged work on ARTEMIS-3137:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 25/Feb/21 15:50
Start Date: 25/Feb/21 15:50
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on a change in pull request
#3466:
URL: https://github.com/apache/activemq-artemis/pull/3466#discussion_r582947088
##########
File path:
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
##########
@@ -1271,4 +1271,22 @@ public Object getOwner() {
public void setOwner(Object object) {
this.owner = object;
}
+
+ @Override
+ public String getStringBody() {
+ String body = null;
+
+ if (type == TEXT_TYPE) {
+ try {
+ SimpleString simpleBody =
getBodyBuffer().readNullableSimpleString();
Review comment:
Or even better.. use getReadOnlyBodyBuffer() instead of getbodyBuffer()
here.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 557994)
Time Spent: 2.5h (was: 2h 20m)
> Support XPath filters
> ---------------------
>
> Key: ARTEMIS-3137
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3137
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)