HTTP event adapter is an internal event adapter that comes with WSO2 productsBAM 2.5.0. By default, it listens to requests on port 9763.
Table of Contents | ||
---|---|---|
|
Excerpt | ||||
---|---|---|---|---|
| ||||
NOTE TO WRITERS: Add the TOC here.
|
Configuring input HTTP event adapter
You can configure the input HTTP adapter using the management console or using a configuration file.
Anchor | ||||
---|---|---|---|---|
|
Follow the instructions below to configure input HTTP event adapter using the management console. This deploys the event adapter in the <PRODUCT_HOME>
/
...
- Log in to the product's management console, and click Configure.
- Click Input Event Adaptors in the Event Processor Configs menu, and then click Add Input Event Adaptor.
- Enter details as shown in the below example.
- Click Add Event Adaptor.
Anchor | ||||
---|---|---|---|---|
|
Follow the instructions below to configure input HTTP event adapter using a configuration file.
...
- For super tenants -
http://localhost:9763/endpoints/<input_adaptor_name>/<topic>
orhttps://localhost:9443/endpoints/<input_adaptor_name>/<topic>
- For other tenants -
http://localhost:9763/endpoints/t/<tenant_domain>/<input_adaptor_name>/<
topic>
orhttps://localhost:9443/endpoints/t/<tenant_domain>/<input_adaptor_name>/<topic>
Configuring input HTTP event adapter message properties
The configured input event adapters are used in event builders. With input event adapter message properties, event builders are able to extract data from the incoming events to build the event streams. Following are the specific message properties of the input HTTP event adapter.
The message properties of the input HTTP
Message properties specific to input event adapters of the http
type can be configured as follows.
- Log into the BAM Management Console. For detailed instructions, see Running the Product.
- In the Main tab, click Event Streams to open the Available Event Streams page.
- Click the Inflows link of the event stream to which the relevant input event adapter is connected. As a result, Event In-Flows (<Input_Event_Adapter_Name>)opens.
Click on the relevant event builder name to open the Event Builder Details page.
The message properties of ahttp
input event adapter are described below. Change the property values as required.Property Description Topic The topic that will be used to receive messages on the HTTP input adapter Input Mapping Type The incoming event type to be mapped