cancel
Showing results for 
Search instead for 
Did you mean: 

Mock ServiceTask type Camel

jean-charles_la
Champ in-the-making
Champ in-the-making
Hi,

With annotation @MockServiceTask(id = "servicetask1", originalClassName = "com.MyService", mockedClassName = "com.ServiceTaskTestMock") I can easily mock a java service task.

But it does not work with a camel service task. ( no originalClassName  ? )

Please can you help me to mock a camel service task ?

Regards,
jcharles.
2 REPLIES 2

trademak
Star Contributor
Star Contributor
We currently don't support mocking Camel service tasks. The TestActivityBehaviorFactory can be extended to implement mocking for Camel service tasks.

Best regards,

jean-charles_la
Champ in-the-making
Champ in-the-making

OK, thank you for your answer.
Regards,
jcharles.