Interface Callback<E>

  • Type Parameters:
    E - type of data held in the response.

    public interface Callback<E>
    Callback interface for asynchronous responses. There are two ways how the receiver of a response may pass it to a copper engine. First, the receiver knows the engine and uses engine.notify. Second, the receiver puts the response into a callback object, created and passed to it by the caller. Callback objects are created using the Workflow.createCallback().
    • Method Detail

      • getCorrelationId

        java.lang.String getCorrelationId()
      • notify

        void notify​(java.lang.Exception exception,
                    Acknowledge ack)