The Default Endpoint is an endpoint defined for adding QoS and other configurations to the endpoint which is resolved from the To
address of the message context. All the configurations such as message format for the endpoint, the method to optimize attachments, reliable messaging, security policies for the endpoint can be specified as in the Address Endpoint. This endpoint differs from the address endpoint only in the URI
attribute which will not be present in this endpoint.
...
Table of Contents | ||||
---|---|---|---|---|
|
...
|
...
XML Configuration
Info | ||
---|---|---|
| ||
You can configure the Default endpoint using XML. Click on "Switch to source view" in the "Default Endpoint" page. |
Code Block |
---|
<default [format="soap11|soap12|pox|get"] [optimize="mtom|swa"]
[encoding="charset encoding"]
[statistics="enable|disable"] [trace="enable|disable"]>
<enableRM [policy="key"]/>?
<enableSec [policy="key"]/>?
<enableAddressing [version="final|submission"] [separateListener="true|false"]/>?
<timeout>
<duration>timeout duration in milliseconds</duration>
<action>discard|fault</action>
</timeout>?
<markForSuspension>
[<errorCodes>xxx,yyy</errorCodes>]
<retriesBeforeSuspension>m</retriesBeforeSuspension>
<retryDelay>d</retryDelay>
</markForSuspension>
<suspendOnFailure>
[<errorCodes>xxx,yyy</errorCodes>]
<initialDuration>n</initialDuration>
<progressionFactor>r</progressionFactor>
<maximumDuration>l</maximumDuration>
</suspendOnFailure>
</default>
|
...
1. In the "Add Endpoint" tab, click "Default Endpoint" (See Adding an Endpoint). The "Default Endpoint" page appears.
- Name - The only Default Endpoint specific option. It defines the unique name of an endpoint.
2. In case you want to configure advanced options, click on the "Show Advanced Options" drop-down pane.
3. Then the page with all the available Default Endpoint options appears.
Specific advanced options of a Default Endpoint are the following:
...
Info | ||
---|---|---|
| ||
The rest of the fields are general to all endpoints. See the detailed information about common options in Adding an Endpoint. |
Excerpt | ||
---|---|---|
| ||
Description of the Default Endpoint in WSO2 ESB. |