有没有办法将安慰与 spring 批处理集成

Is there a way to integrate solace with spring batch

我正在寻求将安慰与 spring 批处理 process/vise-versa 集成,其中 spring itemwriter 应该是安慰 topic/queue。有没有办法做到这一点?我有一些关于 spring 的小贴士,但这些都是独立的信息。我正在寻找批量插入来安慰。

由于 Solace 确实支持 JMS,Spring Batch 确实有一个 JmsItemWriter (http://docs.spring.io/spring-batch/apidocs/org/springframework/batch/item/jms/JmsItemWriter.html)。除此之外,如果您希望使用特定于 Solace 的东西,您需要编写自己的 ItemWriter 实现。

Solace 在 http://dev.solacesystems.com/integration-guides/spring-framework/

上有一个 Spring 框架集成指南

它具有 Spring 批处理 JmsItemWriterJmsItemReader 所需的必要 JmsTemplate 配置。