Thursday, December 24, 2015

Archieve file in File/FTP adapter


In a normal File/FTP adapter we do not specify the naming convention for File.

In SOA 10g by default it used to append timestamp in the existing file name before writing it to the archieve file.

However in case of 11g or 12c this is totally different.

10g -filename_yyyymmdd_hh24mmss

11g/12c -filename_encryptedToken_yyyymmdd_hh24mmss

If you are working in a migration project this might be a big issue and you will have to fight big time to resolve this issue.

This issue can be resolve by using following propery




By default UseDigest is set to true which leads to the encrypted token being appended in the filename and timestamp as filename_digest_timestamp.
Setting this property to false will change the format to filename_timetamp.

11g

Edit the .jca file to include this property as given below.

<property name="UseDigest" value="false"/>



In 12c

Open the composite.xml

go to the file adapter

and define the property within the jca-binding tab

<jca-binding>
<property name="UseDigest" value="false"/>
</jca-binding>


No comments: