From ecf8c7f04581016a4731e2f0dbdb8eb3a9dd9e81 Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Thu, 16 Nov 2017 13:37:28 +0100 Subject: Remove exception throwing Remove exception throwing in configure method Change-Id: Ie567071573c59f93e141ef27f7005f09f46280fd Issue-ID: CLAMP-74 Signed-off-by: Determe, Sebastien (sd378r) --- src/main/java/org/onap/clamp/clds/Routes.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main') 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")); } - } -- cgit 1.2.3-korg