Skip to content

Instantly share code, notes, and snippets.

@JordanSchuetz
Created November 16, 2020 22:18
Show Gist options
  • Save JordanSchuetz/69426a7088a5a861ca536c2cdc5001cc to your computer and use it in GitHub Desktop.
Save JordanSchuetz/69426a7088a5a861ca536c2cdc5001cc to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!-- global.xml -->
<mule xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:websocket="http://www.mulesoft.org/schema/mule/websocket"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/http
http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
http://www.mulesoft.org/schema/mule/websocket
http://www.mulesoft.org/schema/mule/websocket/current/mule-websocket.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/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd">
<configuration-properties doc:name="Configuration properties" file="config.yaml" />
<http:listener-config name="WS_HTTP_Listener_config" doc:name="HTTP Listener config" >
<http:listener-connection host="0.0.0.0" port="${ws.port}" />
</http:listener-config>
<http:listener-config name="HTTP_Listener_config" doc:name="HTTP Listener config" >
<http:listener-connection host="0.0.0.0" port="${http.port}" />
</http:listener-config>
<websocket:config name="WebSockets_Config" doc:name="WebSockets Config">
<websocket:connection >
<websocket:server-settings listenerConfig="WS_HTTP_Listener_config" />
</websocket:connection>
</websocket:config>
</mule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment