【问题标题】:How to transfer files using ibm web sphere message queue in .net?如何在 .net 中使用 ibm websphere 消息队列传输文件?
【发布时间】:2014-01-04 02:29:04
【问题描述】:

我正在使用 IBM WebSphere Message Queue 在 .NET 中传输我的消息。现在我想使用消息队列发送一些文件,是否可以发送所有文件格式?以及如何使用 .NET 发送它们?

【问题讨论】:

    标签: asp.net .net ibm-mq


    【解决方案1】:

    我认为有两种方式。

    1) 使用 WebSphere MQ Managed File Transfer (WMQMFT) 产品来传输文件。 WMQMFT 是建立在 WMQ 之上的产品。更多详情here

    2) 编写您自己的 .NET 应用程序

    a) At the sender end, reads the file data
    b) Attach the file data as message body to one or more messages. 
    c) Send message(s) to a queue. 
    d) At the receiver end, receive message(s) from the queue.
    e) Assemble messages and write to a file.
    

    【讨论】:

      【解决方案2】:

      WMQ 不关心消息数据是什么。因此,请阅读文件,然后将其作为消息发送,但请记住“默认”最大消息大小为 4MB。您的 MQAdmin 可以将最大消息大小更改为最大 100MB。

      如果您需要传输大于 100MB 的文件,则需要使用 WMQ MFT 或开源项目:Universal File Mover。 http://www.capitalware.biz/ufm_overview.html

      【讨论】:

        猜你喜欢
        • 2016-02-18
        • 1970-01-01
        • 2013-10-20
        • 1970-01-01
        • 2018-07-18
        • 2016-09-11
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多