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

KeyNotFoundException during Request/Response #51

Closed
crillemon opened this issue Feb 12, 2016 · 1 comment
Closed

KeyNotFoundException during Request/Response #51

crillemon opened this issue Feb 12, 2016 · 1 comment

Comments

@crillemon
Copy link

When doing RPC calls in quick succession the consumer is removed and a new one is not created and the KeyNotFoundException is thrown.

I've pinpointed the problem to RawRabbit.Operations.Requester.cs in the GetOrCreateConsumerForType method. There is a check to verify that _typeToConsumer contains the correct response type but the _disposeConsumerTimer is triggered before it is actually used.

This may be related to Issue #36

@pardahlman
Copy link
Owner

Mister @crillemon - thanks for reporting this! Just a few minutes before you did, I created an issue for the same problem, #50. I'll close this, and let's discuss things in #50 👍

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

No branches or pull requests

2 participants