This documentation is for WSO2 Enterprise Service Bus version 5.0.0. For the latest ESB, view the latest WSO2 Enterprise Integrator documentation.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For detailed information on each endpoint type available with WSO2 ESB, see WSO2 ESB Endpoints.

Configuring endpoints

In the XML configuration, the <endpoint> element defines an endpoint as follows:

Code Block
languagehtml/xml
<endpoint [name="string"] [key="string"]>
        address-endpoint | default-endpoint | wsdl-endpoint | load-balanced-endpoint | fail-over-endpoint
</endpoint>

Using named endpoints

You can use the name attribute to create a named endpoint. You can reuse a named endpoint by referencing it in another endpoint using the key attribute. For example, if there is an endpoint named foo, you can reference the foo endpoint in any other endpoint where you want to use foo:

...

This approach allows you to reuse existing endpoints in multiple places.

Working with endpoints

You can either use the ESB tooling plug-in to create a new endpoint and to import an existing endpoint, or you can manage endpoints via the ESB Management Console. For detailed information on how to work with endpoints, see the following topics:

Tracing and handling errors

Endpoints have a trace attribute, which turns on detailed trace information for messages being sent to the endpoint. These are available in the trace.log file, which is configured in the <PRODUCT_HOME>/repository/conf/log4j.properties file. Setting the trace log level to TRACE logs detailed trace information including message payloads. For more information on endpoint states and handling errors, see Endpoint Error Handling.

...