Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Java/Spring XML Examples

...

For more details see

Example

The following example route demonstrates the use of a File Consumer Endpoint and JMS Producer Endpoint


Using the Fluent Builders

Code Block
languagejava
from("file://local/router/messages/foo")
	.to("jms:queue:foo");

 

Using the Spring XML Extensions

Code Block
languagexml
<route>
	<from uri="file://local/router/messages/foo"/>
	<to uri="jms:queue:foo"/>
</route>

 

Include Page
Using This Pattern
Using This Pattern