Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.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
Asp.net 如何在.net中使用ibm web sphere消息队列传输文件?_Asp.net_.net_Ibm Mq - Fatal编程技术网

Asp.net 如何在.net中使用ibm web sphere消息队列传输文件?

Asp.net 如何在.net中使用ibm web sphere消息队列传输文件?,asp.net,.net,ibm-mq,Asp.net,.net,Ibm Mq,我正在使用IBM WebSphere消息队列在.NET中传输消息。现在我想使用消息队列发送一些文件,是否可以发送所有文件格式?如何使用.NET发送它们?我认为有两种方法 1) 使用WebSphere MQ托管文件传输(WMQMFT)产品传输文件。WMQMFT是建立在WMQ之上的产品。更多细节 2) 编写自己的.NET应用程序 a) At the sender end, reads the file data b) Attach the file data as message body to o

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

我认为有两种方法

1) 使用WebSphere MQ托管文件传输(WMQMFT)产品传输文件。WMQMFT是建立在WMQ之上的产品。更多细节

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.

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

如果需要传输大于100MB的文件,则需要使用WMQ MFT或开源项目:Universal File Mover