@Override public ProcessInstance getProcessInstance( CorrelationKey correlationKey ) { GetProcessInstanceByCorrelationKeyCommand cmd = new GetProcessInstanceByCorrelationKeyCommand(); String strCorrKey = convertCorrelationKeyToString(correlationKey); cmd.setCorrelationKey(strCorrKey); return executeCommand(cmd); }
String corrPropVal1 = "val"; String corrPropVal2 = "prop"; gpibckCmd.setCorrelationKey(corrPropVal1 + ":" + corrPropVal2); clientReq = new org.kie.remote.client.jaxb.JaxbCommandsRequest("test", gpibckCmd); JaxbCommandsRequest serviceReq = (JaxbCommandsRequest) clientServicesRoundTrip(clientReq);