activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-92 API update to add transformers
Date Wed, 17 Jun 2015 18:08:59 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 2485bb7af -> 7de88ef87


ARTEMIS-92 API update to add transformers


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/ba7a991b
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/ba7a991b
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/ba7a991b

Branch: refs/heads/master
Commit: ba7a991b11fd51af79515bb1f17a6e1b048af529
Parents: 2485bb7
Author: jbertram <jbertram@apache.org>
Authored: Wed Jun 17 13:01:57 2015 -0500
Committer: jbertram <jbertram@apache.org>
Committed: Wed Jun 17 13:02:53 2015 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/server/ServiceRegistry.java | 4 ++++
 .../activemq/artemis/core/server/impl/ServiceRegistryImpl.java   | 3 +++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ba7a991b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ServiceRegistry.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ServiceRegistry.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ServiceRegistry.java
index f6a4cfa..e72d6ea 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ServiceRegistry.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ServiceRegistry.java
@@ -63,8 +63,12 @@ public interface ServiceRegistry
 
    Transformer getDivertTransformer(String name);
 
+   void addDivertTransformer(String name, Transformer transformer);
+
    Transformer getBridgeTransformer(String name);
 
+   void addBridgeTransformer(String name, Transformer transformer);
+
    AcceptorFactory getAcceptorFactory(String name, String className);
 
    void addAcceptorFactory(String name, AcceptorFactory acceptorFactory);

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ba7a991b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServiceRegistryImpl.java
----------------------------------------------------------------------
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 26ee8d9..dffecc5 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
@@ -140,16 +140,19 @@ public class ServiceRegistryImpl implements ServiceRegistry
       return Collections.unmodifiableCollection(outgoingInterceptors.values());
    }
 
+   @Override
    public void addDivertTransformer(String name, Transformer transformer)
    {
       divertTransformers.put(name, transformer);
    }
 
+   @Override
    public Transformer getDivertTransformer(String name)
    {
       return divertTransformers.get(name);
    }
 
+   @Override
    public void addBridgeTransformer(String name, Transformer transformer)
    {
       bridgeTransformers.put(name, transformer);


Mime
View raw message