Skip to content

Provide a service for sendMessage instead of wirering it onto all services? #49

@andersnorgaard

Description

@andersnorgaard

If the plugin provided eg. a GrailsRoutingService with the "sendMessage" method, then the services or controllers that want to send messages could have that service injected.

To me that would have a more idiomatic Grails feel, and it would be easy to mock/stub such a service.

Thanks
Anders

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions