package com.poc.mc.camundawask.business; import org.camunda.bpm.engine.delegate.DelegateExecution; import org.camunda.bpm.engine.delegate.JavaDelegate; import org.springframework.stereotype.Service; /** * This class must be refactored or removed in favour of your own domain or business logic. Replace * the method provided as an example for the one that suits your needs. Take into account the * correct use of logging and the principle of Single-Responsibility. * *

Service classes are responsible for executing your business logic. They might have business * operations like "createReservation" and can orchestrate external services or resources calls * using a repository object. */ @Service public class DummyDelegate implements JavaDelegate { public void execute(DelegateExecution ctx) throws Exception { String message = (String) ctx.getVariable("message"); ctx.setVariable("messageToUpper", message.toUpperCase()); } }