Re: [go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Sotirios Mantziaris
c'mon, this is so stupid... thanks man very much, this was actually the problem! Kudos for finding the culprit! On Wednesday, August 15, 2018 at 12:44:20 AM UTC+3, Justin Israel wrote: > > > > On Wed, Aug 15, 2018 at 9:33 AM Sotirios Mantziaris > wrote: > >> I can see over the wire that i get mes

Re: [go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Justin Israel
On Wed, Aug 15, 2018 at 9:33 AM Sotirios Mantziaris wrote: > I can see over the wire that i get messages from the server with > Basic.Delivery. > The messages do not pop up out of the channel that channel.Consume returns > when creating the connection. > I might read some where that channels do n

Re: [go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Sotirios Mantziaris
I can see over the wire that i get messages from the server with Basic.Delivery. The messages do not pop up out of the channel that channel.Consume returns when creating the connection. I might read some where that channels do not play well with threads. I wonder if it is the same with goroutine

Re: [go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Justin Israel
On Wed, Aug 15, 2018 at 8:05 AM Sotirios Mantziaris wrote: > I have actually opened a thread in the rabbitmq-users list where i checked > through wireshark what goes over the wire. It is actually pretty nice to > see the flow. > I have cross posted since i did not know if it is rabbitmq or my go

Re: [go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Sotirios Mantziaris
I have actually opened a thread in the rabbitmq-users list where i checked through wireshark what goes over the wire. It is actually pretty nice to see the flow. I have cross posted since i did not know if it is rabbitmq or my go code... it seems that i get the next message from the wire but the

Re: [go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Justin Israel
On Wed, Aug 15, 2018, 2:14 AM Sotirios Mantziaris wrote: > hi, > > i have setup a "consumer" for a rabbitmq queue. Every delivery is put in a > channel which is picked up by a goroutine. > After processing the delivery is then Ack or Nack based on the success of > the processing. > It seems that

[go-nuts] streadway/amqp (RabbitMQ) manual Ack does not work after first message

2018-08-14 Thread Sotirios Mantziaris
hi, i have setup a "consumer" for a rabbitmq queue. Every delivery is put in a channel which is picked up by a goroutine. After processing the delivery is then Ack or Nack based on the success of the processing. It seems that the first one is processed ok but the rest cannot be Ack/Nack. The ui