When Biztalk receives a text from a folder it has to extract the file name and route it a specific destination depending on the destination mentioned in the file name.
Like for ex:If my receive file name is a.as.qw.txt and qw,qa,fg are the different destinations then this file should go to the destination folder called qw. The output file name is also changed when it is received.
The "FILE.ReceivedFileName" context property on a message (if picked up via FILE adapter) stores the full path and file name. You can manipulate that value in a pipeline or orchestration to make a decision based on the file name. See this for more … http://blogs.msdn.com/richardbpi/archive/2006/07/05/656948.aspx.
While running the application discussed about yesterday regarding routing of files using the file name and calling orchestration the following error comes:
The published message cannot be routed because no subscribers were found.It says the send ports or orchestration may be enlisted or message property necessary for subscription has not been promoted.
May i know the cause for this error and how to go about it.
sorry, the above is only correct for a pass through pipe…
if you have a FF adapter the COMPLETE file path will be promoted, ie you'll need to parse it in order to get the filename…maybe thats the reason you have a routing failure?
Author
Posts
Viewing 1 reply thread
The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.