private URL createURL(PropertiesBean properties) {
try {
- return UriBuilder.fromUri("http://" + properties.getHost())
+ return UriBuilder.fromUri(properties.getHost())
.path("events").path(properties.getTopic())
.queryParam("timeout", properties.getTimeout()).build().toURL();
} catch (MalformedURLException e) {