-
Notifications
You must be signed in to change notification settings - Fork 0
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
Queue bindToExchange Throwing Error #1
Comments
I have tracked this issue down to this method in AMQPQueue.m:
The queueName ivar is being set before the block executes when it should be set in the block where the queue is declared. When I moved this line
inside the block, it started working. |
There is also a problem with the queue declare in a separate thread. If I am creating a queue, an exchange, then trying to bind them before the thread executes, there is an error generated. |
Yes, it is not compliete code. Use it carefully. I now think about multitreading. its needs for unblocking idea. in this month i solve this trouble, it think :) |
And more, i think about realisation this protocol on CFSocket... i don't know mb its bad idea? |
I am getting the following error when the Queue's bindToExchange is executed:
2013-02-28 09:24:06.782 RabbitMQTest[9819:c07] AMQPException: Failed to bind queue to exchange: No such file or directory
I have an example application that runs perfectly that uses the straight C API and appears to call the same methods with the same parameters as AMQP classes. As you can see by the code, I am using a durable queue & exchange that does not get autodeleted.
Here's my code fragment:
The text was updated successfully, but these errors were encountered: