Skip to content

Commit

Permalink
Change in Exchange creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeschenes committed Aug 17, 2015
1 parent 82e5f89 commit 004f1d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected ActivitiEndpoint getEndpoint(String key) {
}

protected Exchange createExchange(ActivityExecution activityExecution, ActivitiEndpoint endpoint) {
Exchange ex = new DefaultExchange(camelContextObj);
Exchange ex = endpoint.createExchange();
ex.setProperty(ActivitiProducer.PROCESS_ID_PROPERTY, activityExecution.getProcessInstanceId());
ex.setProperty(ActivitiProducer.EXECUTION_ID_PROPERTY, activityExecution.getId());
Map<String, Object> variables = activityExecution.getVariables();
Expand Down

0 comments on commit 004f1d3

Please sign in to comment.