mirror of https://github.com/apache/activemq.git
AMQ-6872 Use correct type casts on ApplicationProperties Map
Fix missing cast on value out of current proton release.
This commit is contained in:
parent
e7bce023de
commit
36a2871301
|
@ -149,7 +149,7 @@ public abstract class InboundTransformer {
|
||||||
|
|
||||||
final ApplicationProperties ap = amqp.getApplicationProperties();
|
final ApplicationProperties ap = amqp.getApplicationProperties();
|
||||||
if (ap != null) {
|
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());
|
setProperty(jms, entry.getKey(), entry.getValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue