Open
Description
In my old citrus version code I have below method:-
@Scenario("Example")
@RequestMapping(value = "/sim/example", method = RequestMethod.GET)
public class GetCircuit extends AbstractSimulatorScenario {
@Override
public void run(ScenarioDesigner scenario) {
scenario.http().receive().get();
scenario.http().send().response(HttpStatus.OK).header("ContentType", "application/json")
.payload(new ClassPathResource("datamanager/example.json"));
}
}
In newer version how can I write the same code as ScenarioDesigner class no longer exist?
Metadata
Metadata
Assignees
Labels
No labels