Using the File Binding Component in a Project

Throttling and Serial Processing

Throttling allows you to set the maximum number of concurrent messages that are processed by a particular endpoint. Increased message load and large message payloads can cause memory usage spikes that can decrease performance. Throttling limits resource consumption so that consistent performance is maintained.

When Max Concurrency Limit is set to 1, File Binding Component will process messages in a serial fashion. That is, after sending one inbound message, next message will be sent only after a response/acknowlegement is received for the first message.

ProcedureTo Configure Throttling

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

    The CASA Editor opens containing your composite application.

  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 CASA Editor

    The QOS Properties Editor appears.

  3. In the QOS Properties Editor, click the property field for Max Concurrency Limit under Throttling Extension, and enter an integer for the maximum number of concurrent messages allowed for this endpoint.

    Setting the Max Concurrency Limit
  4. Click Close.

    The appropriate throttling configuration for the connection is generated in the project's jbi.xml file, when the service assembly is built.