mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
This closes #689
This commit is contained in:
commit
f44e87f43e
@ -258,9 +258,10 @@ public class AeroGearConnectorService implements ConnectorService, Consumer, Mes
|
||||
Set<SimpleString> propertyNames = message.getPropertyNames();
|
||||
|
||||
for (SimpleString propertyName : propertyNames) {
|
||||
if (propertyName.toString().startsWith("AEROGEAR_") && !AeroGearConstants.ALLOWABLE_PROPERTIES.contains(propertyName)) {
|
||||
String nameString = propertyName.toString();
|
||||
if (nameString.startsWith("AEROGEAR_") && !AeroGearConstants.ALLOWABLE_PROPERTIES.contains(nameString)) {
|
||||
Object property = message.getTypedProperties().getProperty(propertyName);
|
||||
builder.attribute(propertyName.toString(), property.toString());
|
||||
builder.attribute(nameString, property.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user