ARTEMIS-713 Possible integer overflow in SubscriptionsResource.recreateTopicConsumer
This commit is contained in:
parent
505b732843
commit
78409ae5e9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue