弹簧集成基于有效负载的返回结果集

时间:2017-02-20 10:14:22

标签: spring spring-integration

我调用基于请求类型在结果集中返回不同数据的过程。 为此,我使用 stored-proc-outbound-gateway 请求类型传递给过程,但在mapper中它不可用。

我可以使用ColumnMetaData来处理resultSet,但我更喜欢使用特定的请求类型映射器。 其他解决方案是拥有与请求类型一样多的网关,但也许有更好的东西。

我可以在 stored-proc-outbound-gateway 中根据有效负载指定要使用的映射器吗?

0 个答案:

没有答案