Using the transport headers to read the incoming filename in OSB

I have a scenario where i am reading a file from ftp server in OSB using Ftp protocol and sending it to target system.

As per my requirement , i have to send the file name to target system with the same name that i have received from source system.

For achieving this i have to use file name property.

Open the proxy service and go to route node and in Request actions add actions as “Set Transport Headers”.

In the “Transport Headers” name , select the name as “jca.ftp.FileName” and open the action and set it as “$inbound/ctx:transport/ctx:request/tp:headers/ftp:fileName

transport.JPG

Advertisements

2 thoughts on “Using the transport headers to read the incoming filename in OSB

  1. In route nodes, Request actions add actions as “Set Transport Headers”.

    In the “Transport Headers” name , set the value for “jca.ftp.FileName” , “jca.ftp.Directory” with the values from the proxy service.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s