Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring integration MQ队列支持的队列通道_Spring Integration_Ibm Mq - Fatal编程技术网

Spring integration MQ队列支持的队列通道

Spring integration MQ队列支持的队列通道,spring-integration,ibm-mq,Spring Integration,Ibm Mq,我计划使用IBM MQ队列支持的缓冲队列通道。我希望将Spring消息放入MQ队列,这样每个消息都可以在单独的事务中处理,如果下游webservice失败,可以重新尝试,并最终放入回退队列。这样信息就不会丢失 我看到有JDBC消息存储和其他的实现,但我找不到任何MQ队列的实现。如果我不见了,你能告诉我吗 <si:service-activator id="eventHandler" input-channel="channel1l" output-channel="amou

我计划使用IBM MQ队列支持的缓冲队列通道。我希望将Spring消息放入MQ队列,这样每个消息都可以在单独的事务中处理,如果下游webservice失败,可以重新尝试,并最终放入回退队列。这样信息就不会丢失

我看到有JDBC消息存储和其他的实现,但我找不到任何MQ队列的实现。如果我不见了,你能告诉我吗

   <si:service-activator id="eventHandler"
     input-channel="channel1l" output-channel="amountDataChannel"
        method="processEvent" ref="eventService" >
   </si:service-activator>

    <si:channel id="amountDataChannel">
       <si:queue message-store="queueMessageStore ???"/>
    </si:channel>

    <si:chain id="dataChain1" input-channel="amountDataChannel" output-                      
               channel="outputChannel">
        <si:poller fixed-rate="10000" max-messages-per-poll="1" />

        <si:transformer ref="transformer" method="transformEvent"/>

         ..Make webservice call
   </si:chain>  

…拨打网络服务电话
更新

在阅读了文档之后,这里是我正在做的,尽管我对事务管理器有一个问题,我应该给我声明的事务管理器,还是使用AcknowlEdge属性自动参与事务管理器。如果是,那么两者的区别是什么

<jee:jndi-lookup id="amountQueue" jndi-name="jms/amountQueue"   />

<si-jms:channel id="amountDataChannel" queue="amountQueue" connection-
      factory="queueConnectionFactory" transaction-manager="txManager" />


同样,对于生产就绪,是否需要提供任何其他属性


感谢您在这方面的帮助

请参阅。

谢谢。让我来探讨一下