Skip to content

Commit

Permalink
Merge pull request #79 from ayeshLK/doc_update
Browse files Browse the repository at this point in the history
Fix message-property extracting logic
  • Loading branch information
ayeshLK authored Jul 28, 2023
2 parents 452c676 + 50d3388 commit 9d52cf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private static BMap<BString, Object> getMessageProperties(Message message)
Iterator<String> iterator = propertyNames.asIterator();
while (iterator.hasNext()) {
String key = iterator.next();
Object value = ((MapMessage) message).getObject(key);
Object value = message.getObjectProperty(key);
messageProperties.put(StringUtils.fromString(key), getMapValue(value));
}
return messageProperties;
Expand Down

0 comments on commit 9d52cf9

Please sign in to comment.