You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/12/05 10:22:42 UTC

[camel] 34/43: CAMEL-12958 - Wrong camel context bound in service registry of jbpm/Kie Server

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 421b58aa0920d0d4f8a7bf5e4a4a46d043ef2cc2
Author: Maciej Swiderski <sw...@gmail.com>
AuthorDate: Mon Nov 26 13:42:48 2018 +0100

    CAMEL-12958 - Wrong camel context bound in service registry of jbpm/Kie Server
---
 .../org/apache/camel/component/jbpm/server/CamelKieServerExtension.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/server/CamelKieServerExtension.java b/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/server/CamelKieServerExtension.java
index fbc4448..0e297be 100644
--- a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/server/CamelKieServerExtension.java
+++ b/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/server/CamelKieServerExtension.java
@@ -117,7 +117,7 @@ public class CamelKieServerExtension implements KieServerExtension {
                 context.start();
                 camelContexts.put(id, context);
 
-                ServiceRegistry.get().register(id + "_CamelService", this.camel);
+                ServiceRegistry.get().register(id + "_CamelService", context);
 
             }
         } catch (Exception e) {