Using the File Binding Component in a Project

Normalized Message Properties Defined by the File Binding Component

The following table describes the Inbound NM properties defined by the File Binding Component.

Table 2 Inbound NM Properties

Property 

Description 

Type 

org.glassfish.openesb.file.inbound.filedirectory 

File directory which is polled for the input file 

String 

org.glassfish.openesb.file.inbound.filename 

Input file being read/poll 

String 

org.glassfish.openesb.file.inbound.datatype 

Datatype of the file, can be text, binary, xml 

String 

org.glassfish.openesb.file.inbound.batchid 

A file may have multiple records, batchid represents the file 

String 

org.glassfish.openesb.file.inbound.recordnumber 

Given a batch id , the record number represents a particular record 

String 

org.glassfish.openesb.file.inbound.lastrecord 

Value can be either "true" or "false", this property is sent in case of last record 

String 

org.glassfish.openesb.file.inbound.endPointname 

Represents the service name and endpoint name 

String 

The following table describes the Outbound NM properties defined by the File Binding Component.

Table 3 Outbound NM Properties

Property 

Description 

Type 

org.glassfish.openesb.file.outbound.filedirectory 

file directory containing the file to read from or write to 

String 

org.glassfish.openesb.file.outbound.filename 

The file to read from or write to 

String 

org.glassfish.openesb.file.outbound.datatype 

Datatype of the file; can be text, binary, xml 

String 

org.glassfish.openesb.file.outbound.diectoryrelativeto 

The file directory can be relative to user-home,current working dir, system default temp dir 

String 

org.glassfish.openesb.file.outbound.addeol 

The value can be true or false, should end-of-the-line character be appended to a record/message 

String 

org.glassfish.openesb.file.outbound.append 

The value can be true or false, signify multiple records per file 

String 

org.glassfish.openesb.file.outbound.appenddelimiter 

If multiple records are true, this represents the record delimiter 

String 

org.glassfish.openesb.file.outbound.overwriteexistingfile 

The value can be true or false, overwrite existing file if true 

String