Skip to main content

move-file-using-file-adapter

Earlier
<adapter-config name="MoveFile" adapter="File Adapter" wsdlLocation="MoveFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">

   <connection-factory location="eis/FileAdapter"/>

  <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">

    <interaction-spec className="oracle.tip.adapter.file.outbound.FileReadInteractionSpec">

      <property name="DeleteFile" value="true"/>

      <property name="PhysicalDirectory" value="dummy"/>

      <property name="FileName" value="dummy"/>

    </interaction-spec>

  </endpoint-interaction>

</adapter-config>


   New
<adapter-config name="MoveFile" adapter="File Adapter"

                wsdlLocation="MoveFile.wsdl"

                xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">

 <connection-factory location="eis/FileAdapter"/>

 <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">

    <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
   <property name="SourcePhysicalDirectory" value="SourceDirectory"/>

   <property name="SourceFileName" value="SourceFileName.txt"/>

   <property name="TargetPhysicalDirectory" value="TargetDirectory"/>

   <property name="TargetFileName" value="TragetFileName.txt"/>

   <property name="Type" value="MOVE"/>

  </interaction-spec>

 </endpoint-interaction>

</adapter-config>

Refernence Link :

http://www.soawork.com/2012/12/move-file-using-file-adapter.html


Comments

Popular posts from this blog

Tune your JDeveloper 12c (12.1.3)

Is your JDeveloper 12c too slow, follow these 3 basic steps and increase perfomance of JDeveloper 12c  (12.1.3) Step 1:  Configure JVM settings in jdev.conf Path:  $MV_HOME$/jdeveloper/jdev/bin/jdev.conf # optimize the JVM for strings / text editing AddVMOption -XX:+UseStringCache AddVMOption -XX:+OptimizeStringConcat AddVMOption -XX:+UseCompressedStrings # if on a 64-bit system, but using less than 32 GB RAM, this reduces object pointer memory size AddVMOption -XX:+UseCompressedOops # use an aggressive garbage collector (constant small collections) AddVMOption -XX:+AggressiveOpts # for multi-core machines, use multiple threads to create objects and reduce pause times AddVMOption -XX:+UseConcMarkSweepGC AddVMOption -DVFS_ENABLE=true AddVMOption -Dsun.java2d.ddoffscreen=false AddVMOption -XX:+UseParNewGC AddVMOption -XX:+CMSIncrementalMode AddVMOption -XX:+CMSIncrementalPacing AddVMOption -XX:CMSIncrementalDutyCycleMin=0 AddVMOption -XX:CMSIncrementalDutyCycle=10...

Unix Briefing

Variables x=3 y='Hello' Note: there should be no space in assigning variables. Print Variables: echo $x echo $y More accurate printing variables is double quote your variables echo "$x" echo "$y" You can print literal also with variables. echo "Value of variable x is $x" If  else statement x=5 y=7 if [[ $x -lt $y ]]; then echo "true" else echo "false" fi Note : For good practice, put condition in [[...]]. There is semi-colon ; after condition end. fi command indicates closing of if else statements. For comparison, use -lt,-gt, -le, -ge comparison parameters for good practice if ((x>y)); then --- this also works -- Try yourself Nested if else can be done with using elif command x=cool if [ "$x" = "cool" ] then     echo "Cool Beans" elif [ "$x" = "neat" ] then     echo "Neato...

How to connect through WLST

WLST : WLST (Weblogic Scripting Tool) is a command line scripting environment or command line tool to do the weblogic administration task Goto  Weblogic home and open wlst.cmd file. $WLS_HOME/common/bin/wlst.cmd Once open, run below command to connect to weblogic. wls:/offline> connect('weblogic','password1',' t3://localhost:7011 ')