From 657e3a1115d05f050a183dcc744d684ae1832d44 Mon Sep 17 00:00:00 2001 From: Enrico Olivelli Date: Tue, 14 May 2024 14:28:31 +0200 Subject: [PATCH] fix type --- .../java/com/datastax/oss/pulsar/jms/selectors/JMSFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar-jms-filters/src/main/java/com/datastax/oss/pulsar/jms/selectors/JMSFilter.java b/pulsar-jms-filters/src/main/java/com/datastax/oss/pulsar/jms/selectors/JMSFilter.java index 607c2acd..c4945a60 100644 --- a/pulsar-jms-filters/src/main/java/com/datastax/oss/pulsar/jms/selectors/JMSFilter.java +++ b/pulsar-jms-filters/src/main/java/com/datastax/oss/pulsar/jms/selectors/JMSFilter.java @@ -736,7 +736,7 @@ static Object getProperty(Map cacheProperties, String name) { // we pre-compute the type in order to avoid to scan the list to fine the type String type = SYSTEM_PROPERTIES_TYPES.get(name); if (type == null) { - type = cacheProperties.get(propertyType(name)); + type = propertyType(name); } String value = cacheProperties.get(name); return getObjectProperty(value, type);