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.1.0</version>
</dependency>
</dependencies>
</dependencyManagement>
Dependencies / Import
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.
In your application’s App Manifest, import the ExecutionRepublisher module.
AppManifest.java
@Configuration
@Import({
...
CausewayModuleExtExecutionRepublisherApplib.class,
...
})
public class AppManifest {
}
Note that this depends upon the Execution Log and Execution Outbox modules.
User Interface
The extension provides this mixins:
-
ExecutionLogEntry_copyToOutbox
This contributes a
copyToOutbox
action to the ExecutionLogEntry entity.
See also
-
Execution Log extension
-
Execution Outbox extension