TIBCO ActiveMatrix® Adapter for Files for Unix/Win (FA) 7.0.0 publishes multiple messages for one parent record

TIBCO ActiveMatrix® Adapter for Files for Unix/Win (FA) 7.0.0 publishes multiple messages for one parent record

book

Article ID: KB0084303

calendar_today

Updated On:

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

Description

Description:
While running the TIBCO ActiveMatrix® Adapter for Files for Unix/Win (FA) project in 7.0.0, the number of messages published is as many as the number of child records.

Symptoms:
In TIBCO ActiveMatrix® Adapter for Files for Unix/Win (FA) version 7.0.0, if we create schema with parent and child having the same format (same number of fields and same delimiter) then the number of messages published is as many as child records. For example : if in schema there is one header with four fields and delimiter as "|" and there is a child with four fields and delimiter as "|" then the number of messages published is equal to number of child records. If the input file has 1 header and under that 28 child records are there then 29 messages are published.
Cause:
This occurs as the schema format for both parent and child is same so there is no unique identification to differ child record from parent record.

Issue/Introduction

TIBCO ActiveMatrix® Adapter for Files for Unix/Win (FA) 7.0.0 publishes multiple messages for one parent record

Environment

Product:TIBCO ActiveMatrix® Adapter for Files for Unix/WinVersion: 7.0.0OS:All Supported Operating Systems--------------------

Resolution

In order to resolve this issue some unique identification is required for child schema from parent schema under one schema tree. 
In the project make any of the below changes :
 
-keep different number of fields in parent and child schema
-keep different delimiter in parent and child schema
-If there's a requirement to keep the number of fields and delimiter same for both parent and child schema then configure the parent schema with a constant value for one field.
 
 
A Document Defect AFIL-2822 ("Unique identification required for child schema from parent schema under one schema tree in File Adapter 7.0.0") is logged to include this in the file adapter document.