100 likes | 213 Views
Use it Messaging. Controller & Processing Unit Messages processing. Controller & Processing Unit. Preliminaries. The controller coordinates the work of the different Processing Unit and feed them with the messages to be processed. The Processing Unit service never start from itself.
E N D
Use itMessaging Controller & Processing Unit Messages processing
Controller & Processing Unit • Preliminaries The controller coordinates the work of the different Processing Unit and feed them with the messages to be processed. The Processing Unit service never start from itself. The controller initialize a session with all the connectors installed and then start the Processing Unit running on the same machine than itself. The connectors are often referenced as queues. In the first versions of Use it Messaging, all the Processing Unit installed in a configuration were started by the controller. It worked but what too difficult to maintain so now only the processing Unit local to the controller starts. When the controller is stooped or paused, it stop the running Processing Unit. If there is an error while opening the session on any connector, the controller set itself in a pause state for a while, typically for 15 min, and then try again to open the queues.
Controller & Processing Unit • All informations transfered from connector to connectors are handle as message • There are 4 kinds of messages, MAIL, DLS, DLR and NDLR • MAIL: Transmission request or fax received • DLS: Delivery Status • DLR: Delivery Report • NDLR: Non Delivery Report
Controller & Processing Unit In the following, we assume that the « Fax Client » has submited one fax transmission request addressed to 3 fax recipients. In the Fax Client Queue, the status is in Initialization state. • Processing of a transmission request • The controller takes note of the new message • Add the reference of the message in the Input table and set the Status to Retry • Mark the message as read on Fax client connector • In the Fax Client Queue, the status is in Waiting state. • In the UIM administration, the message is listed under Fax Client connector as Waiting
Controller & Processing Unit • Processing of the transmission request message • The controller • check if the Processing Unit is available to process the message and assign the message to it • set the status to Pending in the Input table, listed under Fax Client connector node as Pending • remove the original message reference from the Input table once the Processing Unit has finished with the message
Controller & Processing Unit • Processing of the transmission request message • The Processing Unit • read the message • check the recipients • convert the attachments • evaluate LCR rules • transfer the request to fax gateway connector • insert transmission data in Imebase • remove the original message from Fax Client connector • notify the controller that the message has been processed correctly • In the UIM administration, the 3 recipients are listed in the Pending node pane.
Controller & Processing Unit • Transmission informations (DLS, DLR and NDLR) • The controller/Processing Unit collaboration is identical than for a MAIL message. • The controller • writes the message reference in the input table • mark the message as read on Fax Gateway • handle the message to the Processing Unit • delete the message from the Input table once the Processing Unit has finished with the message. • The Processing Unit is responsible of the removal of the message in Fax Gateway
Controller & Processing Unit • Transmission informations Delivery Status • For each transmission attempt, Fax Gateway notify UIM Server through DLS messages • The processing of DLS is not log in the Activity Log • In the UIM Pending node pane, double-clicking on the recipient shows the result of the attempt (busy, wrong number, success) • The Processing Unit forward the DLS to the Fax Client connector, the status of the transmission is visible in the Fax Client Manager
Controller & Processing Unit • NDR/NDLR: Delivery Report and Non Delivery Report • Fax Gateway submit DLR and/or NDLR to UIM Server once all the recipients are completely processed • A recipient is completely processed when the transmission is successful or the maximum of attempts has been reached • If all transmissions are successful, only one DLR is submited • If all the transmissions failed, only one NDLR is submited
Controller & Processing Unit • Processing DLR/NDLR • The processing Unit does the following: • removes all entry from its own internals table • switch the transmission request from « Pending » to « Send Log » • forward the DLR/NDLR to Fax Client Connector • in case of electronic mail, send instead a transmission report to the sender • removes the original message from the Fax Gateway connector to let it clear from any data regarding the transmission.