@Override public String toString() { return "AsyncConsumerStartedEvent [consumer=" + this.consumer + ", container=" + this.getSource() + "]"; }
this.getApplicationEventPublisher().publishEvent(new AsyncConsumerStartedEvent(this, consumer));
@Override public void publishEvent(ApplicationEvent event) { if (event instanceof AsyncConsumerStartedEvent) { newConsumer.set(((AsyncConsumerStartedEvent) event).getConsumer()); latch2.countDown(); } } });
this.getApplicationEventPublisher().publishEvent(new AsyncConsumerStartedEvent(this, consumer));
getTaskExecutor().execute(processor); if (getApplicationEventPublisher() != null) { getApplicationEventPublisher().publishEvent(new AsyncConsumerStartedEvent(this, consumer));
@Override public String toString() { return "AsyncConsumerStartedEvent [consumer=" + this.consumer + ", container=" + this.getSource() + "]"; }
getTaskExecutor().execute(processor); if (getApplicationEventPublisher() != null) { getApplicationEventPublisher().publishEvent(new AsyncConsumerStartedEvent(this, consumer));
getApplicationEventPublisher().publishEvent(new AsyncConsumerStartedEvent(this, consumer));
getApplicationEventPublisher().publishEvent(new AsyncConsumerStartedEvent(this, consumer));