@@lengolass I see, we can list the files in archive folder by list operations and get the value of filename element. ( We can sort if there are many archived files ) Note: there could be some out of the box feature as well to read the archived file name but I am not aware of that right now)
I have one more doubt sir .. If i want to place a trigger file every day because I want to poll for the incoming files every day... can I insert a trigger file in the target location with any operation...? or Can I place some 30 trigger files manually for 30 days each day of month...so sync read will delete one by one and file adapter polls every day.. but path of the trigger file name (poll.txt) how to change automatically for the next day..
@@merlinmerl7349 adapters work in same fashion, in SOA as well as OSB. So follow the same process just use File adapter rather than file transport in OSB.
You are inserting in the message flow, you need to insert into the proxy or business service side. Right click on the proxy service side and choose adapters and then choose file.
@@RadhaYadav-lo5sj you can use assign as well. Thumb rule is if it's simple enough you can use assign but if mapping is a bit complex then use XSLT. I just prefer to use XSLT in my demos.
Sir, pls upload daily video on these kind of topic. Thank you so much for this video
You are welcome Nazia, stay subscribed as we upload regular content and thanks for your kind words.
Behtareen 👌🏻👌🏻
🙏🏻
In the read operation how can i get the name of processed file since its a combination of random encrypted token and date
The name of the first can be extracted from JCA.file.filename header property
@@IntegrationGuru thank you but I meant the name of the processed file that file adapter creates in the archived folder after reading
@@lengolass I see, we can list the files in archive folder by list operations and get the value of filename element. ( We can sort if there are many archived files )
Note: there could be some out of the box feature as well to read the archived file name but I am not aware of that right now)
Good lecture
🙏🏻
what is process files recursively
Read One by one.
I have one more doubt sir .. If i want to place a trigger file every day because I want to poll for the incoming files every day... can I insert a trigger file in the target location with any operation...? or Can I place some 30 trigger files manually for 30 days each day of month...so sync read will delete one by one and file adapter polls every day.. but path of the trigger file name (poll.txt) how to change automatically for the next day..
Just asking.. please clear my doubts.. yesterday i had these questions in Interview..
Can this be done using osb 12c?
Yes it can be done using OSB 12c.
Can you share the link if it can be done to refer
@@merlinmerl7349 adapters work in same fashion, in SOA as well as OSB.
So follow the same process just use File adapter rather than file transport in OSB.
Do we need to install anything in osb to get file option...I am able to see only pipeline and split join after I click insert
You are inserting in the message flow, you need to insert into the proxy or business service side. Right click on the proxy service side and choose adapters and then choose file.
Sir please explain one or two real time projects
Sure Anil, will create those videos soon.
What is logical name in trigger file details..?
what will happen if the incoming file directory is empty... does it throw any error.. or what file adapter will do...
'Read' operation does not throw an error .. however 'sync read' operation will throw an error if the file is not present.
@@IntegrationGuru so in this case.. read operation just waits for files in the incoming directory...?
Instead of XSLT, why can't we use assign activity?
@@RadhaYadav-lo5sj you can use assign as well. Thumb rule is if it's simple enough you can use assign but if mapping is a bit complex then use XSLT. I just prefer to use XSLT in my demos.
@IntegrationGuru okay , thanks a lot 😊
how file adpater knows to read files one by one... for example read the second file