[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsas-java-dev
Subject:    [Dev] Fwd: Merging Multiple files using VFS file processing
From:       Malaka Silva <malaka () wso2 ! com>
Date:       2017-05-26 1:12:41
Message-ID: CANy7KD1TxeKvScRF4Up=i+_4KS6LqauNbj1KK9JqAE4YKd9M-w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi Vivek,

You can achieve this using EI/ESB schedule tasks and within that using file
connector. Find more details in [1] and [2]

[1]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
[2] https://docs.wso2.com/display/EI611/Scheduling+Tasks

---------- Forwarded message ----------
From: Vivek Kumar <vivkumar@salmon.com>
Date: Thu, May 25, 2017 at 10:33 AM
Subject: Merging Multiple files using VFS file processing
To: "malaka@wso2.com" <malaka@wso2.com>


Hi Malaka,

I have following requirement related to VFS transport:



*Scenario:*

I have sample xml files like *File1.xml,File2.xml,File3.xml *.Theses files
are put at some SFTP location.



*My Requirement*:Is there any way to pick these files using VFS file
processing and create one single file *Combined.xml.*

Restriction here is that we must not  save this *Combined.xml *anywhere on
local hard disk and append contents of sample xmls to get final output
*Combined.xml
and then send it to desired EP(SFTP location).*

Final file should be formed in mediation flow itself and then we can send
final file to desired EP(SFTP location).



*My Question:*

Is there any way to achieve this in the current implementation of *VFS file
processing of WSO2ESB* or You may suggest any other way to do the same in
WSO2ESB ?



*Vivek Kumar*
Associate System Analyst

*Noida,India*


Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon's Registered Address is: 27 Farm Street,
London, W1J 5RJ. Registered in England 2360867.



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care

[Attachment #7 (text/html)]

<div dir="ltr"><div class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small">Hi  Vivek,</div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">You can \
achieve this using EI/ESB schedule tasks and within that using file connector. Find \
more details in [1] and [2]</div><div class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">[1]  <a \
href="https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79 \
-17e29c7ad4c6">https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6</a></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">[2]  <a \
href="https://docs.wso2.com/display/EI611/Scheduling+Tasks">https://docs.wso2.com/display/EI611/Scheduling+Tasks</a></div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small"><br></div><div \
class="gmail_quote">---------- Forwarded message ----------<br>From: <b \
class="gmail_sendername">Vivek Kumar</b> <span dir="ltr">&lt;<a \
href="mailto:vivkumar@salmon.com">vivkumar@salmon.com</a>&gt;</span><br>Date: Thu, \
May 25, 2017 at 10:33 AM<br>Subject: Merging Multiple files using VFS file \
processing<br>To: &quot;<a href="mailto:malaka@wso2.com">malaka@wso2.com</a>&quot; \
&lt;<a href="mailto:malaka@wso2.com">malaka@wso2.com</a>&gt;<br><br><br>





<div lang="EN-US">
<div class="gmail-m_4908677223626747708WordSection1">
<p class="MsoNormal">Hi Malaka,<u></u><u></u></p>
<p class="MsoNormal">I have following requirement related to VFS \
transport:<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal"><b>Scenario:<u></u><u></u></b></p>
<p class="MsoNormal">I have sample xml files like <b>File1.xml,File2.xml,File3.xml
</b>.Theses files are put at some SFTP location.<u></u><u></u></p>
<p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal"><b>My Requirement</b>:Is there any way to pick these files using \
VFS file processing and create one single file <b>Combined.xml.</b><u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">Restriction here is that we must not   \
save this <b>Combined.xml </b>anywhere on local hard disk and append contents of \
sample xmls to get final output <b>Combined.xml and then send it to desired EP(SFTP \
location).<u></u><u></u></b></span></p> <p class="MsoNormal">Final file should be \
formed in mediation flow itself and then we can send final file to desired EP(SFTP \
location).<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal"><b>My Question:<u></u><u></u></b></p>
<p class="MsoNormal">Is there any way to achieve this in the current implementation \
of <b>VFS file processing of WSO2ESB</b> or You may suggest any other way to do the \
same in WSO2ESB ?<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal"><b><span lang="EN" \
style="font-size:14pt;font-family:Arial,sans-serif;color:rgb(99,40,130)">Vivek \
Kumar</span></b><span lang="EN" \
style="font-family:Arial,sans-serif;color:rgb(31,73,125)"><br> </span><span lang="EN" \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">Associate System \
Analyst<br> </span><img width="190" height="62" \
id="gmail-m_4908677223626747708Picture_x0020_1" \
src="cid:image001.png@01D2D53F.E4BB6CF0"><span lang="EN" \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)"><u></u><u></u></span></p> \
<p class="MsoNormal"><b><span lang="EN" \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">Noida,India<u></u><u></u></span></b></p>
 <p class="MsoNormal"><u></u>  <u></u></p>
</div>
Information contained in this e-mail and any attachments is confidential and intended \
for the use of the addressee only. Dissemination, distribution, copying or use of \
this communication without prior permission of the addressee is strictly prohibited. \
If you  have received this transmission in error, please advise the originator by \
reply e-mail and delete it. Thank you. Salmon&#39;s Registered Address is: 27 Farm \
Street, London, W1J 5RJ. Registered in England 2360867. </div>

</div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div><br></div><font color="#666666">Best Regards,</font><div><font \
color="#666666"><br>Malaka Silva<br></font></div><div><span \
style="color:rgb(136,136,136);font-size:12.8px">Associate Director / \
Architect</span><font color="#666666"><br>M: +94 777 219 791</font></div><div><span \
style="color:rgb(102,102,102)">Tel : 94 11 214 5345</span><br></div><div><div><font \
color="#666666">Fax :94 11  2145300  </font></div><div><font color="#666666">Skype : \
malaka.sampath.silva</font></div><font color="#666666">LinkedIn :  <a \
href="http://www.linkedin.com/pub/malaka-silva/6/33/77" \
target="_blank">http://www.linkedin.com/pub/malaka-silva/6/33/77</a></font></div><div><span \
style="color:rgb(102,102,102)">Blog :</span>  <a \
href="http://mrmalakasilva.blogspot.com/" \
target="_blank">http://mrmalakasilva.blogspot.com/</a><font \
color="#666666"><br></font></div><div><br></div><div><font color="#666666">WSO2, Inc. \
</font></div><div><font color="#666666">lean . enterprise . middleware  <br></font><a \
href="https://wso2.com/signature" style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">https://wso2.com/signature</a><font \
color="#666666"><br></font></div><div><a \
href="http://wso2.com/about/team/malaka-silva/" \
target="_blank">http://www.wso2.com/about/team/malaka-silva/</a><br></div><div><a \
href="https://store.wso2.com/store/" \
target="_blank">https://store.wso2.com/store/</a></div><div><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br></div><div><span \
style="font-family:Tahoma,sans-serif;color:rgb(0,176,80);font-size:8pt">Don&#39;t \
make Trees rare, we should keep them with \
care</span></div></div></div></div></div></div></div></div></div> </div>

--001a1144a35ad071d7055062dde7--


["image001.png" (image/png)]

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic