Created
January 13, 2013 15:14
-
-
Save bibryam/4524539 to your computer and use it in GitHub Desktop.
This file contains hidden or 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"?> | |
| <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> | |
| <route startupOrder="1"> | |
| <from uri="redis://localhost:6379?command=SUBSCRIBE&channels=testChannel"/> | |
| <to uri="mock:result"/> | |
| </route> | |
| <route startupOrder="2"> | |
| <from uri="direct:start"/> | |
| <setHeader headerName="CamelRedis.Command"> | |
| <constant>PUBLISH</constant> | |
| </setHeader> | |
| <setHeader headerName="CamelRedis.CHANNEL"> | |
| <constant>testChannel</constant> | |
| </setHeader> | |
| <setHeader headerName="CamelRedis.MESSAGE"> | |
| <constant>Test Message</constant> | |
| </setHeader> | |
| <to uri="redis://localhost:6379"/> | |
| </route> | |
| </camelContext> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment