Setting default receiveTimeout to 5000 ms instead of indefinite (-1).

This commit is contained in:
Mark Fisher
2008-08-20 05:33:17 +00:00
parent 78a5d9a7b3
commit f3dd549723

View File

@@ -36,7 +36,7 @@ public class PollingDispatcher implements SchedulableTask, SubscribableSource {
public final static int MAX_MESSAGES_UNBOUNDED = -1;
public final static long DEFAULT_RECEIVE_TIMEOUT = -1;
public final static long DEFAULT_RECEIVE_TIMEOUT = 5000;
private final Log logger = LogFactory.getLog(this.getClass());