SHARE
TWEET

Untitled

a guest Jul 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core"
  4.     xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
  5.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
  6. http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd">
  7.     <http:listener-config name="HTTP_Listener_config" doc:name="HTTP Listener config" doc:id="7b85eb16-1eea-497c-bdda-0a7d686ecd6b" >
  8.         <http:listener-connection host="0.0.0.0" port="8081" />
  9.     </http:listener-config>
  10.     <http:request-config name="HTTP_Request_configuration" doc:name="HTTP Request configuration" doc:id="4cb1102e-872b-4333-8c09-21e4f19b5767" >
  11.         <http:request-connection host="localhost" port="8081" />
  12.     </http:request-config>
  13.     <flow name="helloFlow" doc:id="b79a3b78-1102-4d26-91ae-4af37976b528" >
  14.         <http:listener doc:name="GET /hello" doc:id="968c23c4-b7ce-4bb6-8bf6-832d360b3416" config-ref="HTTP_Listener_config" path="/hello" allowedMethods="GET"/>
  15.         <set-payload value="Hello!" doc:name="Hello!" doc:id="5f4dfe3b-1b45-489c-a296-fd1d6eca68c1" />
  16.         <set-variable value="SOMETHING" doc:name="myval" doc:id="0b61ef74-9a46-4f2a-a23c-5de4f94a82a7" variableName="myval"/>
  17.         <http:request method="GET" doc:name="GET /goodbye" doc:id="a2c6325a-769c-4f87-8fc7-73e2d09a827b" config-ref="HTTP_Request_configuration" path="/goodbye" responseTimeout="300000"/>
  18.         <logger level="INFO" doc:name="Logger" doc:id="2f892577-b9c3-4968-bb14-4052ffc4e0c2" />
  19.     </flow>
  20.     <flow name="goodbyeFlow" doc:id="05d9b478-21cd-409a-a166-c30cb0f85bf3" >
  21.         <http:listener doc:name="GET /goodbye" doc:id="e79bfcca-3b00-41ea-8b36-ee68e23569df" config-ref="HTTP_Listener_config" path="/goodbye" allowedMethods="GET"/>
  22.         <set-payload value="Goodbye!" doc:name="Goodbye!" doc:id="1bd5e3e6-cd0f-4746-a8ce-5dd6810dc961" />
  23.         <logger level="INFO" doc:name="Logger" doc:id="3142a176-f54f-457e-a00c-530426895039" />
  24.     </flow>
  25. </mule>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top