Execution Republisher

The executionrepublisher module contributes an action to allow logged executions (as per the Execution Log module) to be republished to the outbox (as per the Execution Outbox modul).

Setup

Dependency Management

Add an entry for the Execution Republisher module’s own BOM:

pom.xml
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.apache.causeway.extensions</groupId>
            <artifactId>causeway-extensions-executionrepublisher</artifactId>
            <scope>import</scope>
            <type>pom</type>
            <version>2.0.0-RC1</version>
        </dependency>
    </dependencies>
</dependencyManagement>

Dependencies

In the webapp module of your application, add the following dependency:

pom.xml
<dependencies>
    <dependency>
        <groupId>org.apache.causeway.extensions</groupId>
        <artifactId>causeway-extensions-executionrepublisher-applib</artifactId>
    </dependency>
</dependencies>

Note that this declares the Execution Log and Execution Outbox modules as dependencies.

Update AppManifest

In your application’s AppManifest (top-level Spring @Configuration used to bootstrap the app), import the ExecutionLog modules.

AppManifest.java
@Configuration
@Import({
        ...
        CausewayModuleExtExecutionRepublisherApplib.class,
        ...
})
public class AppManifest {
}

Note that this expects (and depends upon) the Execution Log and Execution Outbox modules.

User Interface

The extension provides this mixins:

See also