Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

SendAndReceive does not trigger when subscriber is a method #39

@joemccall86

Description

@joemccall86

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Subscribe to an event topic with a closure subscriber
  2. Publish to that topic using sendAndReceive with a reply closure
  3. Observe the event is handled by the closure subscriber
  4. Observe the reply closure is called
  5. Subscribe to an event topic with a method subscriber
  6. Publish to that topic using sendAndReceive with a reply closure

Expected Behaviour

Once the subscriber handles the event, trigger the reply closure.

Actual Behaviour

The event is handled, but the reply closure is not called

Environment Information

  • Operating System: Fedora 35
  • Grails Version: 5.1.2
  • JDK Version: 11.0.14
  • Container Version (If Applicable): N/A

Example Application

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions