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="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:spring="http://www.springframework.org/schema/beans" xmlns:jdbc="http://www.mulesoft.org/schema/mule/jdbc" | |
xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" | |
xmlns:test="http://www.mulesoft.org/schema/mule/test" xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:jbossts="http://www.mulesoft.org/schema/mule/jbossts" | |
xsi:schemaLocation=" | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd | |
http://www.mulesoft.org/schema/mule/jdbc http://www.mulesoft.org/schema/mule/jdbc/3.2/mule-jdbc.xsd | |
http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.2/mule-jms.xsd |
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
mvn archetype:generate -DarchetypeGroupId=org.mule.tools.devkit -DarchetypeArtifactId=mule-devkit-archetype-generic -DarchetypeVersion=3.0.1 -DarchetypeRepository=http://repository.mulesoft.org/releases/ -DgroupId=org.mule.module.googlemaps -DartifactId=google-maps-connector -Dversion=1.0 -DmuleVersion=3.2.0 -DmuleModuleName=GoogleMaps |
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="http://www.mulesoft.org/schema/mule/core" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:http="http://www.mulesoft.org/schema/mule/http" | |
xmlns:pubsubhubbub="http://www.mulesoft.org/schema/mule/pubsubhubbub" | |
xmlns:mos="http://www.mulesoft.org/schema/mule/mongo-object-store" | |
xsi:schemaLocation=" | |
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/pubsubhubbub http://www.mulesoft.org/schema/mule/pubsubhubbub/3.2/mule-pubsubhubbub.xsd |
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
<!-- Store the current message payload under my_key | |
with the provided TTL --> | |
<redis:set key="my_key" expire="3600" /> | |
<!-- Retrieve the value --> | |
<redis:get key="my_key" /> | |
<!-- Specific data structures are supported --> | |
<redis:hash-set key="my_key" field="my_field" /> |
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
<!-- Publish the current message's payload | |
to the news.art.figurative channel --> | |
<redis:publish channel="news.art.figurative" /> | |
<!-- Subscribe to art channels, and some good sport too :) --> | |
<redis:subscribe> | |
<redis:channels> | |
<redis:channel>news.art.*</redis:channel> | |
<redis:channel>news.sport.rugby</redis:channel> | |
</redis:channels> |
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
<flow name="choiceFlow"> | |
<description> | |
Flow that shows the use of the choice element for content-based routing | |
<description> | |
<jms:inbound-endpoint queue="in"/> | |
<choice> | |
<when expression="/element/@name = 'foo'" evaluator="xpath"> | |
<jms:outbound-endpoint queue="fooQueue"/> | |
</when> | |
<when expression="/element/@name = 'bar'" evaluator="xpath"> |
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
<bridge name="nasdaqCompositePoller" exchange-pattern="one-way"> | |
<poll frequency="360000"> | |
<outbound-endpoint address="${nasdaq.composite.feed.url}" /> | |
</poll> | |
<amqp:outbound-endpoint ref="financialExchange" | |
routingKey="stockmarket.nasdaq.composite" /> | |
</bridge> |
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="http://www.mulesoft.org/schema/mule/core" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:http="http://www.mulesoft.org/schema/mule/http" | |
xmlns:amqp="http://www.mulesoft.org/schema/mule/amqp" | |
xmlns:file="http://www.mulesoft.org/schema/mule/file" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xsi:schemaLocation=" | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd | |
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/3.1/mule-file.xsd |