Skip to content

Instantly share code, notes, and snippets.

@tijsrademakers
Created March 26, 2013 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tijsrademakers/5246250 to your computer and use it in GitHub Desktop.
Save tijsrademakers/5246250 to your computer and use it in GitHub Desktop.
public class AsyncCamelRoute extends RouteBuilder {
@Override
public void configure() throws Exception {
from("activiti:camelProces:camelTask").to("seda:asyncQueue");
from("seda:asyncQueue").to("bean:heavyDutyBean").to("seda:receiveQueue"); // do some integration logic here
from("seda:receiveQueue").to("activiti:camelProcess:receiveTask");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment