Details:
JARs used - camel-core-2.5.0.jar , camel-spring-2.5.0.jar
Configuration file:
<?xml version = "1.0" encoding = "UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
xmlns:amq="http://ift.tt/1dv78M9"
xmlns:xsi="http://ift.tt/ra1lAU"
xmlns:jms="http://ift.tt/1iMF6wC"
xmlns:tx="http://ift.tt/OGfeU2"
xmlns:camel="http://ift.tt/TZ5qsO"
xsi:schemaLocation="http://ift.tt/GArMu6 http://ift.tt/GAf8ZW
http://ift.tt/1dv78M9 http://ift.tt/1d8NZeh
http://ift.tt/1iMF6wC http://ift.tt/1BuJ5p4
http://ift.tt/OGfeU2 http://ift.tt/OGffan
http://ift.tt/TZ5qsO http://ift.tt/1c41eV6
">
<camel:camelContext id="camelContext" xmlns="http://ift.tt/TZ5qsO">
<camel:package>com.myapp.routes</camel:package>
</camel:camelContext>
and we have a file that extends routebuilder
public class SomeRouteBuilder extends RouteBuilder {
...
...
public void configure() throws Exception {
...
...
from("file://E:/somedirectory/".process(new FileWaitProcessor()).process(new Processor() {
Aucun commentaire:
Enregistrer un commentaire