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) {