return action;
}
@Override
public Receive convertModel(ReceiveMessageAction definition) {
Receive action = new ObjectFactory().createReceive();
if (definition.getActor() != null) {
action.setActor(definition.getActor().getName());
} else if (definition.getEndpoint().getActor() != null) {
action.setActor(definition.getEndpoint().getActor().getName());