Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendAndReceive does not trigger when subscriber is a method #39

Open
4 tasks done
joemccall86 opened this issue Mar 23, 2022 · 0 comments · May be fixed by #40
Open
4 tasks done

SendAndReceive does not trigger when subscriber is a method #39

joemccall86 opened this issue Mar 23, 2022 · 0 comments · May be fixed by #40

Comments

@joemccall86
Copy link

joemccall86 commented Mar 23, 2022

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

@joemccall86 joemccall86 linked a pull request Mar 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant