-
Notifications
You must be signed in to change notification settings - Fork 48
Exposed a MessageFailed event for external integrations #372
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this throw or return false to cause us to retry?
If not we might not send the event out?
|
Implemented review actions: added HearbeatRestored event, renamed Reference class. |
Moved MessageFailed, ExceptionDetails and FailureDetails contracts back to internal namespace and created an empty/placeholder MessageFailed public contracts.
2aa4883 to
9d46be2
Compare
9d46be2 to
d58b8bc
Compare
|
This doesn't seem to be fully implemented. Failed messages from ServiceControl 1.3.0 are still being published with the internal message contract instead of the message contract from the ServiceControl.Contracts NuGet package. When can we expect to see ServiceControl publishing events using the contract that is defined in ServiceControl.Contracts? |
|
Could it be old subscriptions for the internal events? |
|
@andreasohlund Looks like that was the reason why I was still receiving the old message type. However, I'm still unable to get the subscription working for the new message type. This is how I have things configured in my custom failed message NServiceBus handler: When I startup this handler, I don't see any new subscriptions getting added to RavenDB at http://localhost:33333/storage. I've tried manually adding a subscription, but still nothing gets delivered on a failed message. Thoughts? |
|
I tried it locally and get the subscription pulled, but like @Bishbulb not seeing anything in Raven and my subscriber is not getting any events... I'm using CS 1.3.0 and ServiceControl.Contracts 1.0.0 package |
|
@sfarmar When you say that you get the subscription pulled, what do you mean by that? I'm also on SC 1.3.0 and using the ServiceControl.Contracts 1.0.0 package. |
|
Just double checking:
|
|
@andreasohlund Json was on, but I was missing the convention to mark ServiceControl.Contracts as an event --> adding that has fixed the issue for me. Thanks for the tip! |
|
yup, i'm running the sample i ran in NYC, i have json serielizer and the conventions set, but no luck :-| |
|
@sfarmar Check the installation directory for SC at C:\Program Files (x86)\Particular Software\ServiceControl. In my case the ServiceControl.Contracts.dll/pdb files were not present in that directory. I had to do a full uninstall/reinstall of ServiceControl in order to get things working. I had previously upgraded from SC 1.2.0 to 1.3.0 by using Chocolatey What ended up working for me was to uninstall SC ( |
|
I just repro'ed the issue with the ServiceControl upgrade via Chocolatey. I had a server that was on SC 1.2.3 and ran |
|
👍 that was the issue, uninstalled - reinstalled and it works! cheers @Bishbulb |
WIP
Moved MessageFailed, ExceptionDetails and FailureDetails contracts back to internal namespace and created an empty/placeholder MessageFailed public contracts.