Expected Result

Publication Service parses the editableWSchema.txt file, creates an object for each purchase and publishes each object as a single message. Subscription Service receives the objects, formats them with an additional field and writes them to the outeditableWSchema.txt file.

You can view the example results in the TIBCO_HOME\adapter\adfiles\version_num\examples\writer\output directory. Fields in the input file are separated by spaces. Fields in the output files are formatted to use semicolons. The input file and output result are shown as follows:

Input File Output File
D001 21/12/02 10:20 AM Purchase order
for Stationary $23 10
STATIONARY PARKER_PEN_MODEL4 231123
COST 8 $23
D014 16/07/01 12:42 PM Purchase order
for Books $12 4
Books JAVA in 21 days 432211
COST 6 $12
D001;21/12/02;10:20 AM;DefaultID******;Purchase order for Stationary;$23;+1.0000E+001
STATIONARY;PARKER_PEN_MODEL4;231123;(      Default         )
COST;8;$23;         DefaultCost!!!!!
D014;16/07/01;12:42 PM;DefaultID******;Purchase order for Books;$12;+4.0000E+000
Books;JAVA in 21 days;432211;(      Default         )
COST;6;$12;         DefaultCost!!!!!