This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new ac3de24 [CAMEL-13385] Move the rest registry to the rest component
ac3de24 is described below
commit ac3de24b87023812435615aab0aa30ba0c82b8c1
Author: Guillaume Nodet <[email protected]>
AuthorDate: Mon Apr 8 11:13:06 2019 +0200
[CAMEL-13385] Move the rest registry to the rest component
---
.../main/java/org/apache/camel/impl/RestRegistryFactoryResolver.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/core/camel-core/src/main/java/org/apache/camel/impl/RestRegistryFactoryResolver.java
b/core/camel-core/src/main/java/org/apache/camel/impl/RestRegistryFactoryResolver.java
index f61b3b2..eacc1f6 100644
---
a/core/camel-core/src/main/java/org/apache/camel/impl/RestRegistryFactoryResolver.java
+++
b/core/camel-core/src/main/java/org/apache/camel/impl/RestRegistryFactoryResolver.java
@@ -20,7 +20,6 @@ import java.io.IOException;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.FactoryFinder;
-import org.apache.camel.spi.HeadersMapFactory;
import org.apache.camel.spi.RestRegistryFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -49,11 +48,11 @@ public class RestRegistryFactoryResolver {
if (type != null) {
if (LOG.isDebugEnabled()) {
- LOG.debug("Found RestRegistryFactory: {} via: {}{}",
type.getName(), factoryFinder.getResourcePath(), "headers-map-factory");
+ LOG.debug("Found RestRegistryFactory: {} via: {}{}",
type.getName(), factoryFinder.getResourcePath(), "rest-registry-factory");
}
if (RestRegistryFactory.class.isAssignableFrom(type)) {
RestRegistryFactory answer = (RestRegistryFactory)
context.getInjector().newInstance(type);
- LOG.info("Detected and using custom RestRegistryFactory: {}",
answer);
+ LOG.info("Detected and using RestRegistryFactory: {}", answer);
return answer;
} else {
throw new IllegalArgumentException("Type is not a
RestRegistryFactory implementation. Found: " + type.getName());