Replies: 1 comment
-
| More than likely, the  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I have two queues:
queue1andqueue2.queue2has two arguments:x-max-length: 10andx-overflow: reject-publish.I want to move messages from
queue1toqueue2and it is important for me that no messages get lost.Here is my code
The
OnAcknowledgedmethod is called when a message has been delivered toqueue2.The
OnNotAcknowledgedmethod is called when a message has not been delivered toqueue2.Thus, if at first there were
100messages inqueue1and0inqueue2, then after starting something like this happens:10messages are added toqueue2(since there is such a limitation on it), andqueue1can be95, that is, theOnAcknowledgedmethod was called in total5 times, although all10messages were successfully delivered.Is this intended behavior or am I doing something wrong?
Environment:
.Net Core version: 3.1
RabbitMQ Server version: 3.8.11
RabbitMQ.Client version: 6.2.1
Sorry, I don't know English well, so I use a translator
Beta Was this translation helpful? Give feedback.
All reactions