protected void doStart() { checkListenerContainerAware(); super.doStart(); synchronized (this.consumersMonitor) { if (this.consumers != null) {
protected void doStart() { checkListenerContainerAware(); super.doStart(); synchronized (this.consumersMonitor) { if (this.consumers != null) {
/** * Start this container. * @see #doStart */ @Override public void start() { if (isRunning()) { return; } if (!this.initialized) { synchronized (this.lifecycleMonitor) { if (!this.initialized) { afterPropertiesSet(); } } } try { if (logger.isDebugEnabled()) { logger.debug("Starting Rabbit listener container."); } configureAdminIfNeeded(); checkMismatchedQueues(); doStart(); } catch (Exception ex) { throw convertRabbitAccessException(ex); } }
/** * Start this container. * @see #doStart */ @Override public void start() { if (isRunning()) { return; } if (!this.initialized) { synchronized (this.lifecycleMonitor) { if (!this.initialized) { afterPropertiesSet(); } } } try { if (logger.isDebugEnabled()) { logger.debug("Starting Rabbit listener container."); } configureAdminIfNeeded(); checkMismatchedQueues(); doStart(); } catch (Exception ex) { throw convertRabbitAccessException(ex); } }
setPrefetchCount(this.messagesPerAck); super.doStart(); final String[] queueNames = getQueueNames(); checkMissingQueues(queueNames);
setPrefetchCount(this.messagesPerAck); super.doStart(); final String[] queueNames = getQueueNames(); checkMissingQueues(queueNames);