[ 
https://issues.apache.org/jira/browse/ISIS-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235606#comment-15235606
 ] 

Oscar Bou commented on ISIS-1368:
---------------------------------

Another alternative design would be the one in CQRS (like implemented in Axon).

The Command Handler publishes an Event when processing the Command, so that 
many, custom Event Handlers would be responsible for different things (such as 
publishing the command again to ActiveMQ, Rabbit, ...).

> Extend the PublishingService API to provide the ability to republish (action) 
> commands.
> ---------------------------------------------------------------------------------------
>
>                 Key: ISIS-1368
>                 URL: https://issues.apache.org/jira/browse/ISIS-1368
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.12.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.13.0
>
>
> Specifically, create a new PublishingService2 subinterface defining:
> {code}
>     /**
>      * To support implementations that allow the republishing of commands, eg 
> onto an JMS message bus.
>      */
>     @Programmatic
>     void republish(final Command command);
> {code}
> This then opens up the ability for integrations between (persisted) Commands 
> and publishing implementations... in particular between the (non-ASF) Isis 
> addons isis-module-command and isis-module-publishmq.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to