在WSO2ESB中,消息采样处理器将消息从队列中取出,并将其转发到一个序列,我们可以在该序列中对请求进行转换并将其发送到后端。和The main purpose of using MSMP is for archiving guaranteed delivery, or in other words, to archive reliable messaging. [Source]
但是当我们使用Message Sampling Processor时,它只是将消息转发到序列中,处理器不知道消息是否成功地传递到后端(使用send | call中介),还是处理器知道这一点并恢复队列中的消息?我使用JMS-Message Store (WSO2MB)尝试了这个场景,我发现后端服务关闭时消息丢失。
发布于 2015-05-25 16:59:36
消息采样处理器不支持可靠的messaging1。为了实现可靠的消息传递,您必须使用消息转发processor2
1- https://docs.wso2.com/display/ESB481/Message+Sampling+Processor
2- https://docs.wso2.com/display/ESB481/Message+Forwarding+Processor
https://stackoverflow.com/questions/30434390
复制相似问题