You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/02/12 02:45:23 UTC
[camel] 13/18: Initialize component to leverage the endpoint
configurer
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
commit 869ce74da0c111df3d19cdd12e68adf4fae9ca59
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue Feb 11 20:46:23 2020 +0100
Initialize component to leverage the endpoint configurer
---
.../apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java b/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
index a97274d..07a79d3 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
@@ -39,6 +39,7 @@ public class CustomSchemaFactoryFeatureTest extends ContextTestSupport {
public void testCustomSchemaFactory() throws Exception {
ValidatorComponent v = new ValidatorComponent();
v.setCamelContext(context);
+ v.init();
v.createEndpoint("validator:org/apache/camel/component/validator/unsecuredSchema.xsd?schemaFactory=#MySchemaFactory");
}