logInst("sendMessageXML", new Object[]{instanceId, message, payload});
try{
ProcessInstance instance = getInstance(instanceId);
ProcessDefinition definition = instance.getProcessDefinition();
return (Serializable)definition.fireMessageXML(message, instance, payload); //send message to the whole subscribers regardless of given instance id. it means even if there're instance which didn't subscribe, the instance will be ignored.
}catch(Exception e){
e.printStackTrace();
throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
}