diff --git a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/IntrospectionSupport.java b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/IntrospectionSupport.java index 3e19a7f27a..c0b223d137 100644 --- a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/IntrospectionSupport.java +++ b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/IntrospectionSupport.java @@ -20,7 +20,9 @@ import java.lang.reflect.Method; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; + import javax.net.ssl.SSLServerSocket; + import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -97,7 +99,7 @@ public final class IntrospectionSupport { return to.cast(value); } - if (boolean.class.isAssignableFrom(to) && value instanceof String) { + if ((boolean.class.isAssignableFrom(to) || Boolean.class.isAssignableFrom(to)) && value instanceof String) { return Boolean.valueOf((String)value); }