[
https://issues.apache.org/jira/browse/CAMEL-12958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700182#comment-16700182
]
ASF GitHub Bot commented on CAMEL-12958:
----------------------------------------
oscerd closed pull request #2637: CAMEL-12958 - Wrong camel context bound in
service registry of jbpm/K…
URL: https://github.com/apache/camel/pull/2637
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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 fbc4448d59c..0e297bece0f 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 void createContainer(String id, KieContainerInstance
kieContainerInstance
context.start();
camelContexts.put(id, context);
- ServiceRegistry.get().register(id + "_CamelService",
this.camel);
+ ServiceRegistry.get().register(id + "_CamelService", context);
}
} catch (Exception e) {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Wrong camel context bound in service registry of jbpm/Kie Server
> ----------------------------------------------------------------
>
> Key: CAMEL-12958
> URL: https://issues.apache.org/jira/browse/CAMEL-12958
> Project: Camel
> Issue Type: Bug
> Components: camel-jbpm
> Affects Versions: 2.23.0
> Reporter: Maciej Swiderski
> Assignee: Maciej Swiderski
> Priority: Major
> Fix For: 2.24.0, 2.23.1
>
>
> Wrong camel context is set in the ServiceRegistry of jBPM when creating kie
> container specific camel context.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)