ARTEMIS-223 Cast QueueId to Long not Integer

This commit is contained in:
Martyn Taylor 2015-09-11 10:53:55 +01:00
parent f4751afcdd
commit 91d93a002c
1 changed files with 1 additions and 1 deletions

View File

@ -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