Use Read-only lock, when publishes message