JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS File Binding Component User's Guide     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the File Binding Component in a Project

About the File Binding Component

File Binding Component Features

Common User Scenarios

Polling a Directory

Writing Files to a Directory

Multiple Records in a File

End-of-Line Characters

Runtime Configuration

Accessing the File Binding Component Runtime Properties

The File Binding Component Runtime Properties

General Properties

Statistics Properties

Loggers Properties

Configuring File BC WSDL Attributes

Service Level WSDL Elements

File Address Element

Binding Level WSDL Elements

File Binding Element

File Operation Element

File Message Element

File Name Patterns

Application Variables in File Name Patterns

Inbound Message Processing

File Binding Component Processing Protocol

Persisted Sequencing

Mapping Persisted Sequences to File Based Persistences

Outbound Message Processing

Application Variable Support

Application Configuration Support

Processing Protocols and Capabilities

Inbound Processing

Outbound Processing

Normalized Message Properties

Normalized Message Properties Defined by the File Binding Component

General Normalized Message Properties

Consistent Logging Strategies

Message Exchange Redelivery Capability

Configuring Redelivery

To Configure Redelivery

Endpoints Statistics and Monitoring Management

Throttling and Serial Processing

To Configure Throttling

Runtime Configuration

The File Binding Component's runtime properties can be configured from the NetBeans IDE, or from a command prompt (command line interface) during installation.

The File Binding Component properties apply to the binding component as a whole, including all provider and consumer endpoints.

Accessing the File Binding Component Runtime Properties

  1. From the Services tab of the NetBeans IDE, expand the Servers node.
  2. Start the GlassFish application server. To do this, right-click the application server and select Start from the shortcut menu.
  3. Under the application server, expand the JBI-> Binding Components nodes and select sun-file-binding.

    The current File Binding properties are displayed at the right side of the NetBeans IDE. You can also double-click sun—file—binding to open the Properties window.

    Edit the properties as needed. To apply any changes you make to the Application Configuration and Application Variables properties, shut down and restart the affected composite applications, Any changes in the "Threads" count property will be applied dynamically without restarting the File Binding Component. Any changes to the component Logger setting will be applied dynamically without restarting the File Binding Component.

The File Binding Component Runtime Properties

The File Binding runtime properties are categorized into three types:

General Properties

Name
Description
Default Value
Description
Indicates the purpose of the File Binding Component. This property is displayed for reference purpose.
Java Enterprise Edition File Binding
Name
Indicates the name of the File Binding Component. This property is displayed for reference purposes.
sun-file-binding
State
Indicates the state of the File Binding Component as "Started" or "Stopped." This property is displayed for reference purposes.
Started
Type
Indicates the type of component. This property is displayed for reference purposes. (service-engine or binding-component)
binding-component
Identification Properties
Version
File Binding Component specification fully supported by this build.
<number-version
Build Number
Date and time stamp for the current build.
<build_number>
Configuration Properties
Number of Outbound Processor Threads
Specifies the maximum number of threads to process outbound HTTP/SOAP invocations concurrently. The value can be any integer from 1 to 2147483647. This is a required property.
5
Application Configuration
Specifies the values for a Composite Application's endpoint connectivity parameters (normally defined in the WSDL service extensibility elements), and apply these values to a user-named endpoint ConfigExtension Property. The Application Configuration property editor includes fields for all of the connectivity parameters that apply to that component's binding protocol.
User defined
Application Variables
Specifies a list of name: value pairs for a given stated type. The application variable name can be used as a token for a WSDL extensibility element attribute in a corresponding binding.

The Application Variables configuration property offers four variable types:

  • String: Specifies a string value, such as a path or directory

  • Number: Specifies a number value

  • Boolean: Specifies a Boolean value

  • Password: Specifies a password value

User defined

Statistics Properties

Statistics properties include 19 different component activities including exchanges, errors, requests, replies, and so forth. It lists component statistics that are collected for actions such as endpoints activated, average response time, completed exchanges, and so forth. Running statistics are automatically collected and displayed

Loggers Properties

Loggers properties include 13 different component activities that can be recorded by the server.log. The Logger properties specify the user-designated level of logging for an event.

Each logger can be set to record information at any of the following levels: