@RequestMapping(value="/management/engine", method = RequestMethod.GET, produces = "application/json")
public ProcessEngineInfoResponse getEngineInfo() {
ProcessEngineInfoResponse response = new ProcessEngineInfoResponse();
try {
ProcessEngineInfo engineInfo = ProcessEngines.getProcessEngineInfo(engine.getName());
if (engineInfo != null) {
response.setName(engineInfo.getName());
response.setResourceUrl(engineInfo.getResourceUrl());
response.setException(engineInfo.getException());
} else {
// Revert to using process-engine directly
response.setName(engine.getName());
}
} catch (Exception e) {