AMQ-6872 Use correct type casts on ApplicationProperties Map

Fix missing cast on value out of current proton release.
This commit is contained in:
Timothy Bish 2017-12-08 11:40:34 -05:00
parent e7bce023de
commit 36a2871301
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public abstract class InboundTransformer {
final ApplicationProperties ap = amqp.getApplicationProperties();
if (ap != null) {
for (Map.Entry<String, Object> entry : ap.getValue().entrySet()) {
for (Map.Entry<String, Object> entry : ((Map<String, Object>) ap.getValue()).entrySet()) {
setProperty(jms, entry.getKey(), entry.getValue());
}
}