Class DefaultActiveTransformation

    • Method Detail

      • startApplying

        public CompletableFuture<EventTransformation> startApplying()
        Description copied from interface: ActiveTransformation
        Requests the transformation to be applied. After this method is invoked, it will not be possible to cancel the transformation or to register new changes in it. Axon Server will asynchronously apply the transformation to the event store, making the changes effective. The returned CompletableFuture completes when the request to start applying has been received form AS, it does not wait the apply process is completed. Depending on the number of transformation actions contained in the transformation, the apply process can take a long time before to be completed.
        Specified by:
        startApplying in interface ActiveTransformation
        Returns:
        a CompletableFuture of the Event Transformation, that completes only after the start applying request has been received by AS.