public IObjectMessage CreateObjectMessage(object body) { ActiveMQObjectMessage answer = new ActiveMQObjectMessage(); answer.Body = body; return ConfigureMessage(answer) as IObjectMessage; }
public IObjectMessage CreateObjectMessage(object body) { return(session.CreateObjectMessage(body)); }