Class EmptyAsyncCallback

  • All Implemented Interfaces:
    Runnable, org.apache.camel.AsyncCallback

    public final class EmptyAsyncCallback
    extends Object
    implements org.apache.camel.AsyncCallback
    An empty AsyncCallback which allows to share the same instance instead of creating a new instance for each message.
    • Constructor Detail

      • EmptyAsyncCallback

        public EmptyAsyncCallback()
    • Method Detail

      • get

        public static org.apache.camel.AsyncCallback get()
      • done

        public void done​(boolean doneSync)
        Specified by:
        done in interface org.apache.camel.AsyncCallback