Binary file name as a message

Home Page Forums BizTalk 2004 – BizTalk 2010 Binary file name as a message

Viewing 1 reply thread
  • Author
    Posts
    • #23223

      Hi,

      I need to pass a binary file using the content routing and pass thru pipelines. This has been done without any problems. However, I also want to be able to use the filename as a message (attribute or element) to an orchestration.

      Is this possible in Bts 2004 or Bts 2006

    • #23224

      You can have your orchestration subscribe to the binary file – declare a message of type System.Xml.XmlDocument. add a receive shape for this message amd bind the orchestration port to your receive port. This way both the orchestration and your original send port will receive the message.

      Once the orchestration has received the message, you can access the file name in the FILE.ReceivedFilename property of this message.

      • #23246

        FYI, If you are using file send adapter , you can use “%SourceFileName% ” macro .

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.