apply patch for: https://issues.apache.org/activemq/browse/AMQ-2988 with modifications to make the properties map unmodifiable and use the generic Collections.emptyMap method instead of creating a new empty map.