activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/3] activemq-artemis git commit: Remove jms.queue prefix in conversion tool output
Date Thu, 15 Dec 2016 17:49:56 GMT
Remove jms.queue prefix in conversion tool output


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

Branch: refs/heads/master
Commit: 117b51da806575a4913ac3ab6b0aeca2c32e6259
Parents: 55fbcfe
Author: Martyn Taylor <mtaylor@redhat.com>
Authored: Thu Dec 15 17:13:37 2016 +0000
Committer: Martyn Taylor <mtaylor@redhat.com>
Committed: Thu Dec 15 17:13:37 2016 +0000

----------------------------------------------------------------------
 .../artemis/tools/migrate/config/XMLConfigurationMigration.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/117b51da/artemis-tools/src/main/java/org/apache/activemq/artemis/tools/migrate/config/XMLConfigurationMigration.java
----------------------------------------------------------------------
diff --git a/artemis-tools/src/main/java/org/apache/activemq/artemis/tools/migrate/config/XMLConfigurationMigration.java
b/artemis-tools/src/main/java/org/apache/activemq/artemis/tools/migrate/config/XMLConfigurationMigration.java
index 6ffefad..3728fd6 100644
--- a/artemis-tools/src/main/java/org/apache/activemq/artemis/tools/migrate/config/XMLConfigurationMigration.java
+++ b/artemis-tools/src/main/java/org/apache/activemq/artemis/tools/migrate/config/XMLConfigurationMigration.java
@@ -66,8 +66,6 @@ public class XMLConfigurationMigration {
 
    private static final String xPathDurable = "durable";
 
-   private static final String jmsQueuePrefix = "jms.queue.";
-
    private final Map<String, Address> coreAddresses = new HashMap<>();
 
    private final Document document;
@@ -194,7 +192,7 @@ public class XMLConfigurationMigration {
          }
 
          Queue queue = new Queue();
-         queue.setName(jmsQueuePrefix + name);
+         queue.setName(name);
          queue.setDurable(getString(jmsQueueElement, xPathDurable));
          queue.setFilter(getString(jmsQueueElement, xPathSelector));
          queue.setRoutingType("anycast");


Mime
View raw message