Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1368

The (new) PublisherService API should provide the ability to republish (action) commands.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.13.0
    • Component/s: Core
    • Labels:

      Description

      See ISIS-1370 relating to the creation of a new PublisherService. (There are two many changes from PublishingService to sensibly have this as a refinement).

      Specifically, the new PublisherService SPI should define:

          /**
           * To support implementations that allow the republishing of commands, eg onto an JMS message bus.
           */
          @Programmatic
          void republish(final ActionInvocationMementoDto aim);
      

        Activity

        Hide
        oscarbou Oscar Bou added a comment -

        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, ...).

        Show
        oscarbou Oscar Bou added a comment - 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, ...).
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit efdb1d461ad76034b537bc398d66db22146097ad in isis's branch refs/heads/ISIS-1291 from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=efdb1d4 ]

        ISIS-1368: added new PublishingService2 API. Also updated documentation.

        Show
        jira-bot ASF subversion and git services added a comment - Commit efdb1d461ad76034b537bc398d66db22146097ad in isis's branch refs/heads/ ISIS-1291 from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=efdb1d4 ] ISIS-1368 : added new PublishingService2 API. Also updated documentation.
        Hide
        danhaywood Dan Haywood added a comment -

        In the end, I've removed this API; it's a responsibility instead of the implementation to provide such a republish capability.

        Show
        danhaywood Dan Haywood added a comment - In the end, I've removed this API; it's a responsibility instead of the implementation to provide such a republish capability.

          People

          • Assignee:
            danhaywood Dan Haywood
            Reporter:
            danhaywood Dan Haywood
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development