Expected Result

Publication Service parses a container1.txt input file, processes the lines into objects and publishes them. Subscription Service receives the objects, formats them according to the write schemas, and writes the output to the outcontainer2.txt file.

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
Order, 101, 3/1/2003, Item, Pencil, 6,
Item, Eraser, 10, Item, Ruler, 12,
Payment# VISA# 1111111111111111# $20#
Payment# Check# 10001# $25
Customer, C001, Joe Smith
Address; 101 California Street; San
Francisco, CA
Order, 102, 3/2/2003, Payment# Check#
20001# $75
Customer, C002, Heather Hope
Address; 567 University Ave; Stanford, CA
Order, 103, 3/3/2003, Item, Marker, 8,
Item, Eraser, 5, Item, Staples, 12, Item,
Envelope, 24
Customer, C003, Jerry Jones
Address; 123 Hillview Court; Palo Alto,
CA
Process, 101, 3/4/2003
Shipped, Item, Pencil, 6, Item, Eraser,
10
Address; 101 California Street; San
Francisco, CA
BackOrder, Item, Ruler, 12
Process, 102, 3/5/2003
Shipped, Item, Eraser, 5, Item, Envelop,
24
Address; 123 Hillview Court; Palo Alto,
CA
BackOrder, Item, Marker, 8, Item,
Staples, 12
Order;101;3/1/2003;Item;Pencil;6;Item
;Eraser;10;Item;Ruler;12
Payment;VISA;1111111111111111;$20
Payment;Check;10001;$25
Customer;C001;Joe Smith
Address;101 California Street;San
Francisco, CA
Order;102;3/2/2003;
Payment;Check;20001;$75
Customer;C002;Heather Hope
Address;567 University Ave;Stanford,
CA
Order;103;3/3/2003;Item;Marker;8;Item
;Eraser;5;Item;Staples;12;Item;Envelo
pe;24
Customer;C003;Jerry Jones
Address;123 Hillview Court;Palo Alto,
CA
Process;101;3/4/2003
Shipped
Item;Pencil;6
Item;Eraser;10
BackOrder
Item;Ruler;12
Address;101 California Street;San
Francisco, CA
Process;102;3/5/2003
Shipped
Item;Eraser;5
Item;Envelop;24
BackOrder
Item;Marker;8
Item;Staples;12
Address;123 Hillview Court;Palo Alto,
CA