ExecuteOnlyForExternalMessagesCommand, storeMessagePattern works with persisted messages, added getMessageRelation