Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Designing: BatchInbound OTD
 

Classic Java CAPS

Developing Java CAPS Projects

Using SOAP Message Handlers

Creating a Runtime Environment

Designing Business Processes in the Sun Business Process Manager

Working with TCP/IP HL7 Collaborations

Developing Sun Master Indexes (Repository)

Developing Sun Master Patient Indexes

Developing OTDs for Application Adapters

Developing OTDs for Communication Adapters

Understanding the HTTPS OTD

HTTPS Client OTD

HTTPS Server OTD

Using the Batch Adapter OTDs

Overview of the Batch OTDs

BatchFTP OTD

BatchFTP OTD Node Functions

Using the BatchFTP OTD

BatchFTPOverSSL OTD

BatchSFTP OTD

BatchSCP OTD

BatchLocalFile OTD

BatchRecord OTD

BatchInbound OTD

Using Regular Expressions With the Batch Adapter

Using Name Patterns With the Batch Adapter

Creating a New COM and DCOM OTD

To Create a COM OTD

Relaunching OTDs

To Relaunch an Existing OTD

File Adapter Components

File OTD Operations

HL7 OTD Libraries

HL7 Version 2.6 OTD Library

HL7 Version 2.5.1 OTD Library

HL7 Version 2.5 OTD Library

HL7 Version 2.4 OTD Library

HL7 Version 2.3.1 OTD Library

HL7 Version 2.3 OTD Library

HL7 Version 2.2 OTD Library

HL7 Version 2.1 OTD Library

Working With HL7 OTDs

Viewing an OTD Using the OTD Editor

Modifying an OTD Using the OTD Editor

SNA Object Type Definitions (OTDs)

To associate the standard SNA eWay OTD to a new Java Collaboration:

Developing OTDs for Database Adapters

Developing OTDs for Web Server Adapters

Designing with Application Adapters

Designing with Communication Adapters

Designing with Web Server Adapters

SWIFT Integration Projects

Java EE Based Components

Designing with Sun JCA Adapters

About the TCP/IP JCA Adapter

Defining Constants and Variables

Using Database Operations

Developing Sun Master Indexes

Using the JMS JCA Wizard

Using the JAXB Wizard and Code-Seeder Pallete

BatchInbound OTD

The BatchInbound Input (Trigger) File adapter polls for an input file, renames the file with a GUID prefix, and triggers the Business Process or Collaboration.

The Batch adapter’s BatchInbound OTD acts similar to the inbound File adapter, in that it regularly polls an input directory for inbound target files. But unlike the File adapter, when a file with the appropriate name is received by the BatchInbound adapter, the target file is renamed with the following pattern: GUID.original_filename to ensure that the file is not over-written and is only sent once. A GUID (Globally Unique Identifier) provides a unique, formatted string that represents a 128-bit value.

The BatchInbound OTD does not read the file, but renames the file in such a way that it provides the name of the file that triggers the Business Process or Collaboration.

BatchInbound OTD Structure

The BatchInbound OTD contains one top-level node, BatchAppconnMessage, with three fields, PathDirName, OriginalFileName, and GUIDFileName (see the following figure). These nodes provide the external input directory, original file name, and the GUID file name.

Figure 13 BatchInbound OTD Structure
BatchInbound OTD Structure