From 9650c80ba701acbf727f379bd155551cdd663b47 Mon Sep 17 00:00:00 2001 From: Francesco Nigro Date: Wed, 17 Jan 2018 00:37:24 +0100 Subject: [PATCH] ARTEMIS-1616 OpenWire improvements Cached Notification Destination check on AMQConsumer to avoid expensive ActiveMQDestination::toString --- .../protocol/openwire/OpenWireMessageConverter.java | 10 ++++------ .../core/protocol/openwire/amq/AMQConsumer.java | 9 ++++++++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java b/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java index 457593d76a..0948f8a926 100644 --- a/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java +++ b/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java @@ -97,8 +97,6 @@ public class OpenWireMessageConverter implements MessageConverter