diff --git a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/message/InboundTransformer.java b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/message/InboundTransformer.java index 5b9035da92..5a68c7753c 100644 --- a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/message/InboundTransformer.java +++ b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/message/InboundTransformer.java @@ -149,7 +149,7 @@ public abstract class InboundTransformer { final ApplicationProperties ap = amqp.getApplicationProperties(); if (ap != null) { - for (Map.Entry entry : ap.getValue().entrySet()) { + for (Map.Entry entry : ((Map) ap.getValue()).entrySet()) { setProperty(jms, entry.getKey(), entry.getValue()); } }