-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
System.Reflection.TargetException In Queuing Events #80
Comments
Thanks for all the details! I've run into this before so I know where it's happening but will need to figure out why.... Could you share the general shape of your Also:
|
Thank you for the quick replay. The shape of the PurchaseCreatedEvent is
|
What do your listeners look like? Are they in the same project also? |
The listener(s) are in the same project as illustrated below
I am not sure if I have configured events and queues below as show below
I hope I have provide enough information. |
Awesome. I forgot to ask (sorry!) - what version of Coravel are you using? |
Version 2.3.1 |
Great. I'll try to get to this in the new couple days. |
Quick question: Did you register your listeners with |
No I didn't register with either. I think that is my issue. Let me try registering it. Ohh is this the proper way to register a listener
I had registered the listeners and events as follow
|
You can just do |
Yes it does. Thank you very much. |
hahaha! Don't worry about it. Glad everything is working now 👍 |
Describe the bug
I am trying to queue an event with the following line
When the event is broadcasted the following exception is raised
Affected Coravel Feature
The Coravel Feature is Queuing
Expected behaviour
I am expecting that when the queue starts the listeners of the broadcasted event handle the event. I am using Coravel with ASP NET Core 2.1.4
The text was updated successfully, but these errors were encountered: