Skip to content

Instantly share code, notes, and snippets.

@pax95
Created March 14, 2015 14:01
Show Gist options
  • Save pax95/993067d7dd0ec4ceb80c to your computer and use it in GitHub Desktop.
Save pax95/993067d7dd0ec4ceb80c to your computer and use it in GitHub Desktop.
public class IronMqRoute extends RouteBuilder {
@Override
public void configure() throws Exception {
from("file://src/test/input")
.to("ironmq://examplequeue?projectId=ironprojectid&token=irontoken&preserveHeaders=true");
from("ironmq://examplequeue?projectId=ironprojectid&token=irontoken&maxMessagesPerPoll=50&preserveHeaders=true")
.to("file://src/test/output");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment