diff options
-rw-r--r-- | src/main/java/org/onap/clamp/clds/Routes.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/org/onap/clamp/clds/Routes.java b/src/main/java/org/onap/clamp/clds/Routes.java index cf6fc5ad9..d9520e789 100644 --- a/src/main/java/org/onap/clamp/clds/Routes.java +++ b/src/main/java/org/onap/clamp/clds/Routes.java @@ -23,22 +23,21 @@ package org.onap.clamp.clds; +import com.att.ajsc.common.camel.AjscRouteBuilder; + import org.apache.camel.builder.RouteBuilder; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; -import com.att.ajsc.common.camel.AjscRouteBuilder; - @Component public class Routes extends RouteBuilder { @Autowired private AjscRouteBuilder ajscRoute; @Override - public void configure() throws Exception { + public void configure() { ajscRoute.initialize(this); ajscRoute .setRoute(from("servlet:/?matchOnUriPrefix=true").to("cxfbean:jaxrsServices?providers=jaxrsProviders")); } - } |