We have set the subscription service 'Creation Mode' to 'Append message to file, close on timer'. We are seeing that the file is closed before all the messages are received. Is there another option available?
book
Article ID: KB0091903
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows
-
Not Applicable
-
Description
Resolution: We would suggest that you set the 'Creation Mode' to 'Append message to file, close on Business Document Lot End', instead of 'Close on Timer'. All messages are appended to a single file and the file will be closed after receiving a message where LotEnd is set to True.
Configuring the adapter:
On The Subscriber side:
On the Subscription Service Configuration tab, set the 'Creation Mode' to 'Append message to file, close on Business Document Lot End'
On the Publisher side:
- On the Publication Service Advanced tab, set the 'Data Format' option to 'Business Document' - You must also enter a name in the 'Business Document Name' field on the same tab
File Adapter will by default publish one record/line per Business Document. You can alter the number of records published by setting the 'Grouping Factor' to the number of records you would like published with each Business Document.
Issue/Introduction
We have set the subscription service 'Creation Mode' to 'Append message to file, close on timer'. We are seeing that the file is closed before all the messages are received. Is there another option available?
Environment
Product: TIBCO Adapter for Files
Version: 4.2.0, 4.x
OS: All
--------------------