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-223 Cast QueueId to Long not Integer
Date Fri, 11 Sep 2015 12:45:17 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master f4751afcd -> 7316609dd


ARTEMIS-223 Cast QueueId to Long not Integer


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

Branch: refs/heads/master
Commit: 91d93a002c3986473bb0a7391c3e85dd698fe06e
Parents: f4751af
Author: Martyn Taylor <mtaylor@redhat.com>
Authored: Fri Sep 11 10:53:55 2015 +0100
Committer: Martyn Taylor <mtaylor@redhat.com>
Committed: Fri Sep 11 10:55:31 2015 +0100

----------------------------------------------------------------------
 .../activemq/artemis/cli/commands/tools/XmlDataImporter.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/91d93a00/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/XmlDataImporter.java
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/XmlDataImporter.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/XmlDataImporter.java
index 854ca98..c850262 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/XmlDataImporter.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/XmlDataImporter.java
@@ -336,7 +336,7 @@ public final class XmlDataImporter extends ActionAbstract {
             managementSession.start();
             ActiveMQServerLogger.LOGGER.debug("Requesting ID for: " + queue);
             ClientMessage reply = requestor.request(managementMessage);
-            queueID = (Integer) ManagementHelper.getResult(reply);
+            queueID = (Long) ManagementHelper.getResult(reply);
             requestor.close();
             ActiveMQServerLogger.LOGGER.debug("ID for " + queue + " is: " + queueID);
             queueIDs.put(queue, queueID);  // store it so we don't have to look it up every
time


Mime
View raw message