{ "metadata" : { "triggers" : [ { "event" : "SUBMIT", "className" : "click.kamil.multi.core.OrderController", "methodName" : "submitOrder", "sourceModule" : null, "stateMachineId" : null, "lineNumber" : 18 } ], "entryPoints" : [ { "type" : "REST", "name" : "POST /orders/submit", "className" : "click.kamil.multi.core.OrderController", "methodName" : "submitOrder", "metadata" : { "path" : "/orders/submit", "verb" : "POST" }, "parameters" : [ { "name" : "orderId", "type" : "String", "annotations" : [ "RequestBody" ] } ] }, { "type" : "REST", "name" : "POST /orders/submit", "className" : "click.kamil.multi.api.OrderApi", "methodName" : "submitOrder", "metadata" : { "path" : "/orders/submit", "verb" : "POST" }, "parameters" : [ { "name" : "orderId", "type" : "String", "annotations" : [ "RequestBody" ] } ] } ], "callChains" : [ { "entryPoint" : { "type" : "REST", "name" : "POST /orders/submit", "className" : "click.kamil.multi.core.OrderController", "methodName" : "submitOrder", "metadata" : { "path" : "/orders/submit", "verb" : "POST" }, "parameters" : [ { "name" : "orderId", "type" : "String", "annotations" : [ "RequestBody" ] } ] }, "methodChain" : [ "click.kamil.multi.core.OrderController.submitOrder" ], "triggerPoint" : { "event" : "SUBMIT", "className" : "click.kamil.multi.core.OrderController", "methodName" : "submitOrder", "sourceModule" : null, "stateMachineId" : null, "lineNumber" : 18 } } ], "properties" : { "default" : { } } }, "name" : "click.kamil.multi.core.OrderStateMachineConfig", "renderChoicesAsDiamonds" : true, "startStates" : [ "NEW" ], "transitions" : [ { "type" : "EXTERNAL", "sourceStates" : [ { "rawName" : "\"NEW\"", "fullIdentifier" : "NEW" } ], "targetStates" : [ { "rawName" : "\"PROCESSING\"", "fullIdentifier" : "PROCESSING" } ], "event" : "SUBMIT", "guard" : null, "actions" : [ { "expression" : "processAction()", "isLambda" : false, "internalLogic" : "@Override default void execute(StateContext context){\n System.out.println(\"Processing order: \" + context.getMessageHeader(\"orderId\"));\n}\n", "lineNumber" : 31 } ], "order" : null }, { "type" : "EXTERNAL", "sourceStates" : [ { "rawName" : "\"PROCESSING\"", "fullIdentifier" : "PROCESSING" } ], "targetStates" : [ { "rawName" : "\"COMPLETED\"", "fullIdentifier" : "COMPLETED" } ], "event" : "FINISH", "guard" : null, "actions" : [ ], "order" : null } ], "endStates" : [ "COMPLETED" ] }