Last active
December 12, 2017 01:32
-
-
Save rashedtalukder/de1e0cd012f603a6cc7f1bad73f999ac to your computer and use it in GitHub Desktop.
Polling with Watermarks quiz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version=""1.0"" encoding=""UTF-8""?> | |
<mule xmlns:twitter=""http://www.mulesoft.org/schema/mule/twitter"" | |
xmlns:tracking=""http://www.mulesoft.org/schema/mule/ee/tracking"" xmlns:dw=""http://www.mulesoft.org/schema/mule/ee/dw"" xmlns:http=""http://www.mulesoft.org/schema/mule/http"" xmlns=""http://www.mulesoft.org/schema/mule/core"" xmlns:doc=""http://www.mulesoft.org/schema/mule/documentation"" | |
xmlns:spring=""http://www.springframework.org/schema/beans"" | |
xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" | |
xsi:schemaLocation="" | |
http://www.mulesoft.org/schema/mule/twitter http://www.mulesoft.org/schema/mule/twitter/current/mule-twitter.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd | |
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd | |
http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd | |
http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd""> | |
<http:listener-config name=""HTTP_Listener_Configuration"" host=""0.0.0.0"" port=""8081"" doc:name=""HTTP Listener Configuration""/> | |
<twitter:config name=""Twitter__Configuration"" accessKey=""<access_key>"" accessSecret=""<access_secret>"" consumerKey=""<consumer_key>"" consumerSecret=""<consumer_secret>"" doc:name=""Twitter: Configuration""/> | |
<flow name=""championsFlow1"" processingStrategy=""queued-asynchronous""> | |
<poll doc:name=""Poll""> | |
<fixed-frequency-scheduler frequency=""1000""/> | |
<watermark variable=""lastId-1"" default-expression=""-1"" selector=""FIRST"" selector-expression=""#[payload.id]""/> | |
<twitter:get-user-timeline-by-screen-name config-ref=""Twitter__Configuration"" screenName=""MuleSoft"" doc:name=""Twitter""/> | |
</poll> | |
</flow> | |
</mule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment