Using the HL7 Binding Component

Using Message Throttling

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.

The HL7 Binding Component can manage the flow of messages by evaluating endpoints to determine when it is necessary to suspend requests and when to resume processing as usual.

Throttling for the HL7 Binding Component is a QoS feature configured from the CASA Editor.

ProcedureTo Configure Throttling for an HL7 WSDL Port

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

    The CASA Editor opens containing your composite application.

    Graphic shows the QoS icon in the CASA Editor,
as described in context.
  2. In the CASA Editor, click the QoS icon located near the HL7 WSDL port you want to configure.

    The QoS Properties Editor appears.

  3. In the QoS Properties Editor, click the property field for maximumConcurrencyLimit under ThrottlingExtension, and enter an integer for the maximum number of concurrent messages allowed for this endpoint.

    Graphic shows the QoS Properties Editor
  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.