Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Tutorial — Getting Started : Sending Multiple Messages in a Batch

Sending Multiple Messages in a Batch
This section explains how to send a batch of ORDERS messages in a single interchange envelope.
Configure the Batch Scheduler
To send a batch of ORDERS messages to a fictitious trading partner, you must enable the batch scheduler as follows:
1.
Click BusinessConnect>Business Agreements.
2.
Click a business agreement Company1-Company2.
3.
Click the EDIFACT agreement protocol binding.
4.
Click the Scheduled Transmission tab.
5.
Select the Enable check box.
6.
Select Everyday in the Transmission Mode list to activate the start and end time period for every day of the week.
7.
Select Every 5 mins from the Frequency list. This schedules batching for 5 minute increments from the start time.
8.
9.
Click Save twice.
Send Multiple Messages
To send multiple messages in a batch, repeat steps from the section Send the ORDERS Message. After 5 minutes have elapsed, the batching occurs. A batch of ORDERS messages are bundled into a single interchange envelope, which is transmitted to your fictitious trading partner using the configured outbound FILE transport.
Expected Results
The directory c:\testEDI\out should contain a file which contains a batch of ORDERS messages bundled within a single interchange envelope that was sent to the trading partner by TIBCO BusinessConnect EDI Protocol powered by Instream.
Figure 13 Batch Orders
View the Audit Log
After the batch is sent, the control number fields are updated with the actual control numbers (see Figure 14).
Figure 14 Batched Messages After Sending
Before the five minutes have elapsed, the messages display with a batch in the control number fields (Figure 15).
Figure 15 Transaction Detail of Batched Messages After Sending

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved