You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/03/30 16:45:18 UTC
[camel] branch main updated: (chores) camel-base-engine: minor AbstractCamelContext constructor cleanup
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 5b843e06c9b (chores) camel-base-engine: minor AbstractCamelContext constructor cleanup
5b843e06c9b is described below
commit 5b843e06c9be20a9caedded966a4ce20785b588e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Mar 30 17:16:24 2023 +0200
(chores) camel-base-engine: minor AbstractCamelContext constructor cleanup
---
.../java/org/apache/camel/impl/engine/AbstractCamelContext.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index e1350d74c1a..26452a11eaa 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -348,7 +348,7 @@ public abstract class AbstractCamelContext extends BaseService
* <p/>
* Use one of the other constructors to force use an explicit registry.
*/
- public AbstractCamelContext() {
+ protected AbstractCamelContext() {
this(true);
}
@@ -357,12 +357,12 @@ public abstract class AbstractCamelContext extends BaseService
*
* @param registry the registry
*/
- public AbstractCamelContext(Registry registry) {
+ protected AbstractCamelContext(Registry registry) {
this();
camelContextExtension.setRegistry(registry);
}
- public AbstractCamelContext(boolean build) {
+ protected AbstractCamelContext(boolean build) {
// create a provisional (temporary) endpoint registry at first since end
// users may access endpoints before CamelContext is started
// we will later transfer the endpoints to the actual