ldebello commented on issue #2634: ARTEMIS-2316 AMQPMessage missing 
ApplicationProperties from custom transformer
URL: https://github.com/apache/activemq-artemis/pull/2634#issuecomment-485904798
 
 
   > ```
   > 
   >    @SuppressWarnings("unchecked")
   >    private Map<String, Object> getApplicationPropertiesMap(boolean 
createIfAbsent) {
   >       ApplicationProperties appMap = lazyDecodeApplicationProperties();
   >       Map<String, Object> map = null;
   > 
   >       if (appMap != null) {
   >          map = appMap.getValue();
   >       }
   > 
   >       if (map == null) {
   >          if (createIfAbsent) {
   >             map = new HashMap<>();
   >             this.applicationProperties = new ApplicationProperties(map);
   >          } else {
   >             map = Collections.EMPTY_MAP;
   >          }
   >       }
   > 
   >       return map;
   >    }
   > ```
   
   That code is from master the code in 2.6.x or 2.6.4 does not have that 
logic, if that fix the issue for messageChanged we should backport that change 
to 2.6.x

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to