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…
Reference in New Issue