From 2398e5a16cef758a5617b7703524728bdbf1ac68 Mon Sep 17 00:00:00 2001 From: Domenico Francesco Bruscino Date: Mon, 28 Feb 2022 21:06:30 +0100 Subject: [PATCH] ARTEMIS-3685 Fix BridgeTransformer resolver --- .../artemis/core/server/impl/ServiceRegistryImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServiceRegistryImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServiceRegistryImpl.java index 9581bec992..1597e08061 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServiceRegistryImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServiceRegistryImpl.java @@ -191,10 +191,6 @@ public class ServiceRegistryImpl implements ServiceRegistry { @Override public Transformer getBridgeTransformer(String name, TransformerConfiguration transformerConfiguration) { - if (transformerConfiguration == null) { - return null; - } - Transformer transformer = bridgeTransformers.get(name); if (transformer == null && transformerConfiguration != null && transformerConfiguration.getClassName() != null) {