Why does a TIBCO ActiveMatrix Adapter for Files (Unix/Win) publisher change the order of the records published if comparing the actual order in the input file provided?

Why does a TIBCO ActiveMatrix Adapter for Files (Unix/Win) publisher change the order of the records published if comparing the actual order in the input file provided?

book

Article ID: KB0088798

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

Resolution:

If your Readschema for TIBCO ActiveMatrix Adapter for Files (Unix/Win) (FA) publisher has defined the relationship between schema, then the underlying SDK/transport groups the similar data into a group.

Example:

  • If you have a ReadSchema with Child A, B, C
  • Whereas your input file has following lines:

****

A <rest of records>

C <rest or records>

B <rest of records>

A <rest of records>

B <rest of records>

***

You will see the output grouped as well and the published records will be:

****

A <rest of records>

A <rest of records>

B <rest of records>

B <rest of records>

C <rest or records>


***

However, if you do not define the relationship, then the order of the records will be retained. Schemas have no relationship with each other and each line is published as a single record. Using the above, you will have three ReadSchemas: A, B and C associated with a single FA publisher to retain the same order.

Issue/Introduction

Why does a TIBCO ActiveMatrix Adapter for Files (Unix/Win) publisher change the order of the records published if comparing the actual order in the input file provided?