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

Message Exchange Redelivery Capability

Before we proceed to Redelivery capability of the File Binding Component, it is important to know about the Quality of Service (QOS) attributes. Redelivery is a part of the QOS properties.

The QOS attributes are configured from the Config QoS Properties Editor, accessed from the Composite Application Service Assembly (CASA) Editor.

The following table describes the QOS attributes.

Table 5 QOS Attributes and Their Description

Attribute
Description
Example
Consumer Settings
Service Name
Specifies the consumer service name. Click the ellipses button to open the QName Editor. Select a pre-existing Namespace URL or enter a new Namespace URL and prefix.
http://j2ee.netbeans.org/ wsdl/PollInOut/PollIn
Endpoint Name
Specifies the consumer endpoint name. Click the ellipses button to open an edit window.
PollIn_InboundPort
Provider Settings
Service Name
Specifies the provider service name. Click the ellipses button to open the QName Editor. Select a pre-existing Namespace URL or enter a new Namespace URL and prefix.
http://enterprise.netbeans. org/bpel/PollInOut/ PollWrite
Endpoint Name
Specifies the Provider endpoint name. Click the ellipses button to open an edit window.
FileInboundPortTypeRole_ myRole
Redelivery Extension Settings
Max Attempts
Specifies the number of times redelivery will be attempted before using the on failure option.
20
Wait Time
Specifies time (in milliseconds) to wait between redelivery attempts.
300
On Failure
Specifies the type of action to be taken when message exchange (ME) redelivery attempts have been exhausted. The on failure options are:
  • Delete

  • Error

  • Redirect

  • Suspend

The File Binding Component supports only Error and Suspend.

Error
Throttling Extension Settings
Max Concurrency Limit
Specifies the maximum number of concurrent messages that can be processed on a specific connection. This number is used to set up the maximum number of concurrent messages that the internal endpoint sends to the provider endpoint.
10

Configuring Redelivery

Redelivery is a Quality of Service mechanism that handles message delivery when first-time delivery fails. Redelivery allows you to define the number of attempts that the system makes to deliver a message, the time between attempts, and the final result for an undeliverable message or non-responsive endpoint. Redelivery is configured for a specific connection from the Composite Application Service Assembly (CASA) Editor, by clicking the QoS icon for that connection. This opens the Config QoS Properties for that connection. From the Redelivery Extension section of the editor, configure the Redelivery properties.

If ERROR status is returned for an Inbound message sent by File Binding Component, the BC will attempt to re-deliver the message, based on Redelivery QoS settings. For example, a message could have ERROR status if BPEL Service Engine encounters a problem while processing the message.

The Redelivery configuration parameters are:

To Configure Redelivery

  1. From the NetBeans IDE Projects window, right-click the Service Assembly node under your composite application, and select Edit from the popup menu.

    The CASA Editor opens containing your composite application.


    image:The CASA Editor
  2. In the CASA Editor, click the QoS icon located on the link between your JBI Module and the WSDL port you want to configure.

    The QOS Properties Editor appears.

  3. In the QOS Properties Editor, click the property field for Max Attempts under Redelivery Extension, and enter an integer for the maximum number of redeliveries to be attempted.
  4. Similarly set the Wait Time and On Failure attributes and click Close.
    image:The QOS Properties Editor