在 biztalk Server 2006 中将图像文件作为消息发送
我有一个带有扩展名的图像文件。tif
我已经设置了用于发送和接收文件的端口。
我已将发送端口配置为文件夹,并将接收端口配置为文件夹。
我的发送文件夹的名称是send1,接收文件夹的名称是receive1。
现在我想做到这一点,每当任何图像文件落入 receive1 文件夹时,它应该自动传输到 send1 文件夹。
我如何在 biztalk 服务器中执行此操作?
I have a image file with extention.tif
I have set ports for sending and receiving file.
I have configured sending port to a folder and receiving port to a folder.
My sending folder's name is send1 and receiving folder's name is receive1.
Now i want to do that whenever any image file falls in receive1 folder it should automatically transfer to send1 folder.
How can i do this in biztalk server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
试试这个;
a) 将接收端口上的管道设置为“PassThruReceive”,并将发送端口设置为 PassThruTransmit,然后放置在接收位置的任何文件都会按原样发送到发送位置。
b) 在发送端口上设置一个过滤器作为接收端口名称。这告诉发送端口订阅您的接收端口发布的消息,例如;
如果您需要更多帮助,请告诉我。
Try this;
a) Set your pipeline on the receive port to "PassThruReceive" and send port to PassThruTransmit, then any file dropped in the the receive location is sent as-is to the send location.
b)Set a Filter on the send port to be the receive port name. This tells the send port to subscribe to messages published by your receive port, like;
Let me know if you need more help.
teepeeboy 建议的答案将适用于您的情况,这里有关于如何执行此操作的更详细的分步说明 http: //bryantlikes.com/HelloBizTalkFileTransfer.aspx 屏幕类似于 BizTalk 2004,但概念仍然相同。
另外一件事是,在发送端口上将文件名属性设置为 %MessageID%.tif 而不是默认的 .xml
The answer suggested by teepeeboy will work in your case, here is a more detailed step by step instruction on how to do it http://bryantlikes.com/HelloBizTalkFileTransfer.aspx The screen resemebles BizTalk 2004, but the concepts are still the same.
One additional thing, on Send port set the file name property to %MessageID%.tif instead of the default .xml