ARTEMIS-713 Possible integer overflow in SubscriptionsResource.recreateTopicConsumer
Fixing compilation
This commit is contained in:
parent
5792fca9c7
commit
12716a3e8f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue