ARTEMIS-223 fix on long conversion
This commit is contained in:
parent
490662923c
commit
8533171459
|
@ -336,7 +336,8 @@ public final class XmlDataImporter extends ActionAbstract {
|
|||
managementSession.start();
|
||||
ActiveMQServerLogger.LOGGER.debug("Requesting ID for: " + queue);
|
||||
ClientMessage reply = requestor.request(managementMessage);
|
||||
queueID = (Long) ManagementHelper.getResult(reply);
|
||||
Number idObject = (Number) ManagementHelper.getResult(reply);
|
||||
queueID = idObject.longValue();
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue