You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2014/11/30 18:21:53 UTC
camel git commit: isRunAllowed should return false if the service has
not been initialized/startet at all.
Repository: camel
Updated Branches:
refs/heads/master 6674e4ef4 -> 6a0e6766a
isRunAllowed should return false if the service has not been initialized/startet at all.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6a0e6766
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6a0e6766
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6a0e6766
Branch: refs/heads/master
Commit: 6a0e6766adea74b3c5cfca8a47172886058b9e25
Parents: 6674e4e
Author: Claus Ibsen <da...@apache.org>
Authored: Sun Nov 30 18:21:31 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sun Nov 30 18:21:31 2014 +0100
----------------------------------------------------------------------
.../org/apache/camel/impl/converter/DefaultTypeConverter.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/6a0e6766/camel-core/src/main/java/org/apache/camel/impl/converter/DefaultTypeConverter.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/converter/DefaultTypeConverter.java b/camel-core/src/main/java/org/apache/camel/impl/converter/DefaultTypeConverter.java
index 236ad67..5b75c2d 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/converter/DefaultTypeConverter.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/converter/DefaultTypeConverter.java
@@ -40,6 +40,12 @@ public class DefaultTypeConverter extends BaseTypeConverterRegistry {
}
@Override
+ public boolean isRunAllowed() {
+ // as type converter is used during initialization then allow it to always run
+ return true;
+ }
+
+ @Override
protected void doStart() throws Exception {
super.doStart();
// load type converters up front