cancel
Showing results for 
Search instead for 
Did you mean: 

failed calling receive task nested in 'call activity/subprocess' via camel

lubomird
Champ in-the-making
Champ in-the-making
Hello,
we are using new camel - activiti integration from version 5.12. We have a parent process  with a 'activity call' starting a subprocesses .

In a jUnit tests for those subprocesses the camel activiti integration works fine and camelProducerTemplate start the route which eventually call receive task in a process like mentioned in user guide:
from("direct:receive1").to("activitiSmiley Frustratedubprocess1:task1");

When we try to use such receive task from a jUnit test which is testing the parent process, it does not work, saying that route was not found.

By intuition something llike this should work but it does not:
from("direct:receive1").to("activitiSmiley TonguearentProcessSmiley Frustratedubprocess1:task1");
1 REPLY 1

smirzai
Champ on-the-rise
Champ on-the-rise
Actually it seems that your endpoint name has one more extra parent. It should be simply:
activitiSmiley TonguerocessName  or activitiSmiley TonguerocessName:servicename