ARTEMIS-713 Possible integer overflow in SubscriptionsResource.recreateTopicConsumer

Fixing compilation
This commit is contained in:
Clebert Suconic 2016-09-07 11:57:43 -04:00
parent 5792fca9c7
commit 12716a3e8f
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 * 1000l, false);
tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000L, false);
}
catch (ActiveMQException e) {
throw new RuntimeException(e);