Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须实现一个适配器,它不会立即将消息路由到 JMS 队列,而是等待并收集具有相同 id 的消息,将它们连接到一个列表,然后将列表作为单个消息发送到队列。这在 Oracle OSB 中技术上可行吗?
如果您正在执行批处理,这是可能的,因为您知道最后一条消息已经到达并且您已准备好进行合并。
一种方法 - 将所有消息转储到文件/数据库中,读取文件/数据库并进行必要的转换并发送到队列。
直到您知道最后一条消息的标识符之后,才可能实时进行合并,之后必须开始合并。