| Scott Colestock 2005-08-25, 6:02 pm |
| You may wish to use a small orchestration for this - and you could by pass
the file folder unless you need it for some other reason. Bring the message
in over transport of choice, and convert to EDI. Then use the message
content to determine the destination URI.
In the orchestration, use a dynamic send port, and set the URI for the send
port with an expression shape as follows:
MyDynamicPort(Microsoft.XLANGsBaseTypes.Address) = someURI;
Alternatively, if the number of FTP location is small, and fixed (known in
advance), you could create send ports for each URI and create filter
expressions for these send ports that caused them to subscribe to inbound
messages based on content.
Scott Colestock
www.traceofthought.net
"Vinod" <vinodb@bsil-dot-com.no-spam.invalid> wrote in message
news:DOKdnWfAfpwWJ5DeRVn_vA@giganews.com...
> Hi,
>
> I need to specify diff sender EDI URI while communicating to diff
> parties.
>
> The scenario is:
>
> I am getting "order" msg in flat file and convert it into EDI format
> and put the EDI file in a folder.After that I have to pick the EDI
> file from that folder and ftp it to some FTP location using the FTP
> adapter and pass thru pipeline.
>
> Could anyone please let me know if I can use the custom component in
> the second stage to change the sender EDI URI while Ftping it to the
> ftp location and if yes then how to achieve this???
>
> Thanks a lot in advance
>
> Vinod
>
|