cancel
Showing results for 
Search instead for 
Did you mean: 

Skipping the content conversion if the input file is an xml file.

Former Member
0 Kudos

Hi,

My source folder contains both text files and xml files.

I want to skip the content conversion if the input file is an xml file and the same Content conversion as to work if the input file is a text file.

Is there any way to achieve this?

Regards

Divia

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos

Hi,

If you want to process only the .txt files of the source folder then when you are specifying the filename in the CC use *.txt.....this statement should process only the text (.txt) files...

Regards,

Abhishek.

Former Member
0 Kudos

Hi,

I think u hv to create 2 separate Communication Channels.............. 1 for XML (without Content Conversion), & other for TXT with Content Conversion.

In 1st CC give file name as *.xml & in 2nd give file name as *.txt

Thanks,

Maheshwari

Former Member
0 Kudos

Since the source message structure and message interface is same for both the files I wonu2019t be able to create 2 sender agreements and hence creating 2 communication channels is not a solution. I just want to know using one communication channel is it possible to achieve.

Regards,

Divia

Former Member
0 Kudos

I dont think so....

U can try by giving * in the sender interface in sender agreement....

Thanks,

Maheshwari

prateek
Active Contributor
0 Kudos

Using one communication channel, this won't be possible. You may just create 2 outbound interface with same message type and create corresponding two sender agreement. This would be the easiest solution.

Regards,

Prateek