Publication Service - Advanced Tab

The Advanced tab is available only for Record Transfer mode. The tab has the Advanced, Business Document, and Processing and Publishing panels. Check the listed fields in each panel.

Advanced

The Advanced panel contains the following fields:
Field Description
Input Buffer Max Size Specifies the amount of data. Publication Service reads the data from the input file every time it reads the file. Usually, this field uses the default value.
Document Delay (milliseconds) Publication Service occasionally overwhelms the underlying messaging infrastructure by publishing messages faster than they are received. Under these circumstances, Publication Service uses the flow control. Specify the document delay in milliseconds, and the delay is applied when publishing a message. The message is either Object (MInstance) or Business Document (MBusinessDocument).

Publication Service publishes a MInstance or MBusiness Document every time a delay timer triggers.

Checkpoint Restart When you select this check box, you can enable the checkpoint restart capability for Publication Service. If the adapter crashes when processing a file, Publication Service continues to process the file from where it crashed upon restart. Clearing the check box means a higher throughput is possible, but you have to restart the service manually.

For more information, see CheckPoint Restart.

Business Document

The Business Document panel contains the following fields:
Field Description
Grouping Factor Specifies how many objects are grouped when publishing a business document. You can group multiple file records into one business document message.
Note: Objects belonging to the same file are grouped together.
Data Format Select the data format for message to be published. You can select Object (MInstance) or Business document (MBusinessDocument) from the Data Format list.

When selecting Business document, MInstances are batched before sending. For a given size of MInstance, the number of MInstances per business document varies to achieve the desired throughput.

The performance of Subscription Service improves when it receives a MBusinessDocument.

Business Document Name This field is available only when the data format is Business document (MBusinessDocument). It is the name of the Business document that is to be published, and is a required attribute for the BusinessDocument format of messages.

Processing and Publishing

The Processing and Publishing panel contains the following fields:
Field Description
Synchronous Mode Select this check box if Publication Service operates in synchronous mode. Clear this check box if Publication Service operates in asynchronous mode.
Note: Each Publication Service works on its own thread; therefore, operation in synchronous mode or asynchronous mode makes no difference.
Publication Semantics When you select the check box under this field, Publication Service publishes an object only if all of its associations have no errors.
Publication Semantics
If you want to publish an object only if all the associations (children) have no issues, select the Only publish an identified object whose associations, if defined, have no errors check box under the Publication Semantics field.
For example, if a ReadSchema is defined as follows:
H
  D
where H and D are delimited file records (identified by a constant) with the following fields and types:
H
field_1 String (Header)
field_2 ui4
D
field_1 String (Detail)
field_2 ui4
The input.txt input filename contains:
Header, 10
Detail, -20

Since Detail, -20 has a validation issue, the entire object is not published when this option is enabled. If this option is disabled, and the object containing only Header, 10 is published.