| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Designing: Introduction to Data Streaming |
|
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
Developing OTDs for Database Adapters
Developing OTDs for Web Server Adapters
Designing with Application Adapters
Designing with Communication Adapters
Adding the DLL file to the Path for the COM/DCOM Application Server Process
To Add the DLL file to the Path for the Application Server Process
Installing the MSMQ DLL and JNI Files
To Download the MSMQ DLLs and Runtime JNI
To Add the DLL Files to the Environment Path
Enabling Rollback When an MSMQ Message Fails
Streaming Data Between Components with the Batch Adapter
Overcoming Large-file Limitations
Designing with Web Server Adapters
Designing with Sun JCA Adapters
Data streaming provides a means for interconnecting any two components of the adapter by means of a data stream channel. This channel provides an alternate way of transferring the data between the Batch Adapter components. Streaming is available between BatchLocalFile and BatchFTP, or BatchLocalFile and BatchRecord.
Each OTD component in the adapter has a Payload node. This node represents the in-memory data and is used when the data is known to be relatively small in size or has already been loaded into memory. The node can represent, for example, the buffer in the record-processing OTD, as it is being built or parsed, or the contents of a file read into memory.
Instead of moving the data all at once between components in Java CAPS’s memory, you can use a data-stream channel to provide for streaming the data between them a little at a time, outside of Java CAPS.
Data streaming was designed primarily to handle large files, but you can use it for smaller data sizes as well.
Use the Netbeans IDE’s Collaboration Rules Editor to set up data-streaming operations. The rest of this section explains the data streaming feature and how to set it up.
Note - Payload-based and streaming-based transfers are mutually exclusive. You can use one or the other but not both for the same data.