Messaging paradigm of Library Service and RESTful API call from offline scheduler