Skip to content

Commit

Permalink
updated CamelRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxrmdavidson committed Jan 30, 2020
1 parent 6123146 commit 83b711b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/**
* A simple Camel REST DSL route that implements the arrivals service.
*
* This is cp test from node script
*/
@Component
public class CamelRouter extends RouteBuilder {
Expand Down Expand Up @@ -57,11 +57,11 @@ public void configure() throws Exception {

//
// COMMENT OUT THIS
.to("direct:arrivalsImplLocal", "direct:departuresImplLocal");
//.to("direct:arrivalsImplLocal", "direct:departuresImplLocal");

//
// UNCOMMENT THIS
//.to("direct:arrivalsImplRemote", "direct:departuresImplRemote");
.to("direct:arrivalsImplRemote", "direct:departuresImplRemote");

from("direct:arrivalsImplRemote").description("Arrivals REST service implementation route")
.streamCaching()
Expand Down

0 comments on commit 83b711b

Please sign in to comment.