- public A1MediatorConfiguration(@Value("${a1med.basepath}") final String a1medBasepath) {
- Assert.notNull(a1medBasepath, "base path must not be null");
- logger.info("Configuring A1 Mediator at base path {}", a1medBasepath);
- this.a1medBasepath = a1medBasepath;
+ public A1MediatorConfiguration(@Value("${a1med.url}") final String url) throws MalformedURLException {
+ logger.info("Configuring A1 Mediator at base URL {}", url);
+ new URL(url);
+ this.a1medUrl = url;