diff --git a/artemis-rest/src/main/java/org/apache/activemq/artemis/rest/topic/SubscriptionsResource.java b/artemis-rest/src/main/java/org/apache/activemq/artemis/rest/topic/SubscriptionsResource.java index 2f5156a482..56cbab480c 100644 --- a/artemis-rest/src/main/java/org/apache/activemq/artemis/rest/topic/SubscriptionsResource.java +++ b/artemis-rest/src/main/java/org/apache/activemq/artemis/rest/topic/SubscriptionsResource.java @@ -376,7 +376,7 @@ public class SubscriptionsResource implements TimeoutTask.Callback { if (subscriptionExists(subscriptionId)) { QueueConsumer tmp = null; try { - tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000l, false); + tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000L, false); } catch (ActiveMQException e) { throw new RuntimeException(e);