[] Rabbitmq solve the problem SimpleAmqpClient create obstruction connection

https://blog.csdn.net/panxianzhan/article/details/50755409

 

https://blog.csdn.net/csm201314/article/details/76380796   SimpleAmqpClient study notes

 

https://www.cnblogs.com/suyunhong/p/9253736.html   send and receive examples

 

Others say:

Blocking solution, you can subscribe message queue is set autoAck = true, this will avoid blocking message queue messages, this is the worker received the news, the news will be deleted from the message queue, regardless of whether the message was processed correctly the other is set autoAck = false, so worker after receiving the message, the server must be given a ack response, the message will be deleted from the message queue, this will prevent accidental loss of information, but noted that the news If the queue does not receive ack response, the message of the message would have been blocked for rabbitmq-server, he is no timeout exists, that is, unless the restart rabbitmq, otherwise the message queue will block until a response is received but if the queue with the message subscirbe off, then show expired, that is the message queue, the message will try to re-message to a subscriber for processing.

 

Others say: do not understand the science of C ++ (of course, they do not feel that they do not understand C ++), Java will feel good. Like his teacher kindergarten children think 1 + 1 = 2 is the profound knowledge, and calculus at the University of nonsense is that those who head is filled with
even Java get it working, it will pretend to engage in design and architecture and pretend in front of people look down on language syntax. All architecture is based on the language syntax, the so-called architecture nature itself is so simple that even an idiot for granted, of course, must not be so, you need to add some idiot on perverted and simple, so that normal intelligence who see muddled can all of a sudden quell wherever it goes. In normal nature, pattern design, architecture design is a patch of language. Will talk about design and architecture design patterns, they can not even leave the writing language code, you think about what language is?
If even design and architecture does not work, it is filled with bitter look down on code B farming, engage in management
I do not look down on managers, but even if it is stupid programmer to write a program will not, and will not engage in the management line

Confidence point to c ++

Guess you like

Origin www.cnblogs.com/hshy/p/11019458.html