ARTEMIS-713 Possible integer overflow in SubscriptionsResource.recreateTopicConsumer

This commit is contained in:
Martin Styk 2016-09-07 09:25:57 +02:00
parent 505b732843
commit 78409ae5e9
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ public class SubscriptionsResource implements TimeoutTask.Callback {
if (subscriptionExists(subscriptionId)) {
QueueConsumer tmp = null;
try {
tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000, false);
tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000l, false);
}
catch (ActiveMQException e) {
throw new RuntimeException(e);