From 91d93a002c3986473bb0a7391c3e85dd698fe06e Mon Sep 17 00:00:00 2001 From: Martyn Taylor Date: Fri, 11 Sep 2015 10:53:55 +0100 Subject: [PATCH] ARTEMIS-223 Cast QueueId to Long not Integer --- .../activemq/artemis/cli/commands/tools/XmlDataImporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 854ca984d0..c850262ab9 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