Class DelayedMonoPublisher<T>

java.lang.Object
org.apache.camel.component.reactive.streams.engine.DelayedMonoPublisher<T>
All Implemented Interfaces:
org.reactivestreams.Publisher<T>

public class DelayedMonoPublisher<T> extends Object implements org.reactivestreams.Publisher<T>
Publish a single item as soon as it's available.
  • Constructor Details

    • DelayedMonoPublisher

      public DelayedMonoPublisher(ExecutorService workerPool)
  • Method Details

    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<T>
    • getData

      public T getData()
    • setData

      public void setData(T data)
    • getException

      public Throwable getException()
    • setException

      public void setException(Throwable exception)