Output HTTP event adapter is used to send events to a specific Web service location using POST.
Follow the steps below to configure output HTTP event adapter using the management console. This deploys the event adapter in
Enter details as shown in the below example.
Click Add Event Adaptor.
Follow the steps below to configure output HTTP event adapter using a configuration file.
Create an XML file with the following output HTTP event adapter configurations. Output event adapter implementation must start with
<outputEventAdaptor> as the root element.
<PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/directory. Since hot deployment is supported in the product, you can simply add/remove output event adapter configuration files to deploy/undeploy output event adapters to/from the server.
After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI. Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.
httptype can be configured as follows.
Click the name of the event formatter to which the relevant output event adapter is connected. This opens the Event Formatter Details page.
The message properties of an http output event adapter are described below. Change the property values as required.
|Headers||Custom HTTP headers that you want to send with the HTTP post|
|Password||HTTP BasicAuth password|
|Username||HTTP BasicAuth username|
|URL||The target HTTP/HTTPS URL|
|Output Event Type||The outgoing event type to be mapped. The output HTTP event adapter supports XML, JSON, and text mappings.|