Expected Result

Publication Service parses the multidelim.txt file and publishes each line with a pair of commas as multiple delimiters. Subscription Service receives each message, formats it and writes it to the outmultidelim.txt file using a semi-colon as a single delimiter.

You can view the example results in the TIBCO_HOME\adapter\adfiles\version_num\examples\writer\output directory. The input file and output results are shown as follows:

Input File Output File
Customer, C0002, RDWY, 006998397
Business%% B0001%% Application
Integration%% REUTERS
Contact-**- 650-799-9234-**-
contactus@tibco.com-**- www.tibco.com
Customer,C0021,WSWY,006244123
Business%%B0003%%Courier
Service%%ROADWAY EXPRESS
Contact-**-732-750-9608-**-service@road
wayexpress.com-**-www.roadway.com
Customer, C0038,SRAC,006502837
Business%%B0005%% Car Rental%%Speedy
Contact-**-258-123-4567-**-service@spee
dy.com-**- www.speedy.com
Customer;C0002;RDWY;006998397
Business;B0001;Application
Integration;REUTERS
Contact;650-799-9234;contactus@tibco.co
m;www.tibco.com
Customer;C0021;WSWY;006244123
Business;B0003;Courier Service;ROADWAY
EXPRESS
Contact;732-750-9608;service@roadwayexp
ress.com;www.roadway.com
Customer;C0038;SRAC;006502837
Business;B0005;Car Rental;Speedy
Contact;258-123-4567;service@speedy.com
;www.speedy.com