AMQ-6872 Use correct type casts on ApplicationProperties Map

Fix missing cast on value out of current proton release.
(cherry picked from commit 36a2871301)
This commit is contained in:
Timothy Bish 2017-12-08 11:40:34 -05:00
parent a9903148ee
commit cd380ee3aa
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());
}
}