diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2017-11-16 13:37:28 +0100 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2017-11-16 13:44:54 +0100 |
commit | ecf8c7f04581016a4731e2f0dbdb8eb3a9dd9e81 (patch) | |
tree | 4b111026ab37cc1ed015639c84c9dfc237b00d34 /src/main/java/org | |
parent | e03482f7967d7f226426ba8d17aab9367e767857 (diff) |
Remove exception throwing
Remove exception throwing in configure method
Change-Id: Ie567071573c59f93e141ef27f7005f09f46280fd
Issue-ID: CLAMP-74
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main/java/org')
-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")); } - } |