Hi Alan.
Recently I have done a refectory in my code and I have not seen that issue, at least until now. But, I still have to execute lots of tests in my project across January.
So, if I find some issue, I will isolate the problem in a short peace of code and reproduce here.
Thanks for now.
Br,
Enviado: segunda-feira, 22 de dezembro de 2014 20:17
Para: Rodrigo Pimenta Carvalho;
rabbitm...@googlegroups.com
Assunto: Re: [rabbitmq-users] RabbitMQ-C : What happens if we destroy the connection without closing the channel before?
Please keep it on-list.
-Alan
Ph:
+55 35 3471 9300<tel:%2B55%2035%203471%209300> (Brasil)
________________________________________
De: Alan Antonuk [
alan.a...@gmail.com<mailto:
alan.a...@gmail.com>]
Enviado: quinta-feira, 4 de dezembro de 2014 3:00
Para: Rodrigo Pimenta Carvalho
Cc:
rabbitm...@googlegroups.com<mailto:
rabbitm...@googlegroups.com>
Assunto: Re: [rabbitmq-users] RabbitMQ-C : What happens if we destroy the connection without closing the channel before?
You do not need to close channels when closing the connection, they will be closed implicitly as a part of the connection shutdown.
If possible call amqp_connection_close() before calling amqp_destroy_connection(). The former sends a shutdown message to the broker (though its not required and will not destabilize things on the client side). If you are already in an errored state, you can call amqp_destroy_connection(), as further communication with the broker will cause further errors.
-Alan
On Tue, Dec 2, 2014 at 9:49 AM, Rodrigo Pimenta Carvalho <
pim...@inatel.br<mailto:
pim...@inatel.br><mailto:
pim...@inatel.br<mailto:
pim...@inatel.br>>> wrote:
Dear RabbitMQ-C users:
My client is a producer and it is producing messages to the queue in the broker, very well.
Let's suppose my C code execute a "amqp_destroy_connection(........);" without doing a " amqp_channel_close(......);" before.
What will happen in this case? That is, will some problem rises in my client? Is my client going to unstable?
Any hint will be very helpful!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph:
+55 35 3471 9300<tel:%2B55%2035%203471%209300><tel:%2B55%2035%203471%209300> (Brasil)
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com<mailto:
rabbitmq-users%2Bunsu...@googlegroups.com><mailto:
rabbitmq-users%2Bunsu...@googlegroups.com<mailto:
rabbitmq-users%252Buns...@googlegroups.com>>.
To post to this group, send an email to
rabbitm...@googlegroups.com<mailto:
rabbitm...@googlegroups.com><mailto:
rabbitm...@googlegroups.com<mailto:
rabbitm...@googlegroups.com>>.