Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dilin993/d2a50c30eefc098230590ea9b65f082a to your computer and use it in GitHub Desktop.
Save dilin993/d2a50c30eefc098230590ea9b65f082a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<eventPublisher
name="IsAnalytics-Publisher-wso2event-AuthenticationData"
statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventpublisher">
<from streamName="org.wso2.is.analytics.stream.OverallAuthentication" version="1.0.0"/>
<mapping customMapping="disable" type="json"/>
<to eventAdapterType="http">
<property name="http.client.method">HttpPost</property>
<property name="http.username">admin</property>
<property name="http.proxy.host">127.0.0.1</property>
<property name="http.proxy.port">5000</property>
<property encrypted="true" name="http.password">admin</property>
<property name="http.headers">header1: value1, header2: value2</property>
<property name="http.url">http://127.0.0.1:5000/publish</property>
</to>
</eventPublisher>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment