Using the HTTP Binding Component

Configuring the Quality of Service Properties

The QOS attributes are configured from the Config QoS Properties Editor, accessed from the Composite Application Service Assembly (CASA) Editor. For an example of how to access the Config QOS Properties Editor, see Configuring the HTTP Binding Component Endpoint for Throttling

Attribute 

Description 

Value/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/SoapBasicAuth}SoapBasicAuthServices 

Endpoint Name 

Specifies the consumer endpoint name. Click the ellipses button to open an edit window. 

SoapBasicAuthPortWssToken 

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/BasicAuthBP/SoapBasicAuthAM}AMPartnerLink 

Endpoint Name 

Specifies the Provider endpoint name. Click the ellipses button to open an edit window. 

SoapBasicAuthAMPortTypeRole_myRole 

RedeliveryExtension Settings

maxAttempts 

Specifies the number of retries to attempt before using the on-failure option. 

20 

waitTime 

Specifies time (in milliseconds) to wait between redelivery attempts. 

300 

on-failure 

Specifies the type of action to be taken when message exchange (ME) re-delivery attempts have been exhausted. 

The on-failure options are

  • delete: When the final defined delivery attempt has failed, the QoS utility abandons the message exchanges (ME) and returns a Done status to the JBI component, which proceeds to its next process instance. This option is only supported for In-Only message exchanges.

  • error: When the final defined delivery attempt has failed, the QoS utility returns an Error status to the JBI component, and the JBI component throws an Exception. This is the default option, and is supported for both In-Only and In-Out message exchanges.

  • redirect: Similar to the delete option, except that the QoS utility re-routes the ME to the configured redirect endpoint when the maxAttempts count has been exhausted. If the QoS utility is successful in routing the message to the redirect endpoint, a Done status is returned to the JBI component; otherwise, an Error status is returned. This option is supported for In-Only message exchanges only.

  • suspend: The QoS utility returns an Error status to the JBI component if it is not able to deliver the ME to the actual provisioning endpoint. After the re-delivery attempts have been exhausted, the JBI Component suspends the process instance. This option is only supported if monitoring is enabled in the JBI Component, since the user must use the monitoring tool to resume a suspended instance. This option is supported for both In-Only and In-Out message exchanges.

delete 

ThrottlingExtension Settings

maximum-ConcurrencyLimit 

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 the provider endpoint. 

10