它还在处理期间锁定消息,确保一条消息仅由一个读取器处理,即使多个进程在从单一队列进行读取操作。
It also locks messages during processing, which ensures that a message will only be processed by one reader, even if multiple processes are reading from a single queue.
相反,应该根据组织的方法和成熟度来量身定做 SOA 解决方案,以便确保一条更平坦的采用和成功之路。
Rather, SOA solutions should be tailored to the approach and level of maturity of the organization to ensure a smoother path to adoption and success.
“是的,不过这是一条锁链,朋友,它能确保你有面包吃。”诗人回答说。
"Yes, but it is a chain, friend, which ensures you the blessed bread of existence," answered the poet.
OK. Note, by the way, if I chase through each possible path, like there's some IFs in here, if there's some places to go, at least in this piece of code, every possible path through this code ends in a return. And that's a good programming discipline, to make sure that happens.
注意一下,如果我跟进每一条可能的路径,像是这里的,起码在这段代码中就有很多走向,这段代码中的每一条可能路径,在结尾都会返回一个值,这就是一条很好的编程定律,请确保这样做。
应用推荐