Messagebox

Navigation:  Managing a Site > Data Sync >

Messagebox

Previous pageReturn to chapter overviewNext page

 

Overview

 

The "Messagebox" module of the "Control Panel" relates to the Messagebox Service, a service provided by MCL-Mobility Platform that allows your mobile applications to exchange messages with a back-end via the topics within your site.

A topic is a specific queue used by the sender (mobile application/back-end) to direct a message to a receiver (mobile application/back-end) that subscribes to that topic. It is similar to a mailbox that accepts messages from a specific entity to be delivered to another specific entity.

There are three possible types(sub-services) of topics, meaning, a topic can have one of three directions:

Mobile to Back-end - the message is sent by the device(s)/application to a specific topic and, then, it is read by the intended back-end.

Back-end to Mobile - the back-end sends a message to a specific topic which is, then, read by the device(s)/application that poll it.

Request - the device(s)/application sends a message to a specific topic, expecting an answer from a specific entity. Once the entity reads the message, the answer will be sent through that same topic.

 

The Messagebox Service is available at account and site level:

There is a "Messagebox" sub-module in the Admin Dashboard's "Control Panel" (included in the "Data Sync" module) which allows the account administrator to create, edit, delete or replicate a topic onto all the sites in the account.

There is a "Messagebox" sub-module (included in the site's "Data Sync" module) where the site manager and any site user with the necessary access rights can manage the topics that concern their own site.

 

The "Messagebox" sub-module is used, specifically, to manage the necessary topics for the Messagebox Service, meaning, it allows you to add, edit, delete and copy topics, purge a topic's messages and read or send messages onto a topic.

 

Note

The back-end application can also manage the topics - it can add, edit, delete and copy topics.

 

 

In the Site Dashboard's "Control Panel", click Data Sync Button_Site to access the "Messagebox" sub-module.

 

Control Panel_Messagebox_SD

 

Click Messagebox Button to open the "Topics" page and view the list of topics available within the site. The list consists of topics created within this site and whatever topics have been replicated from the Admin Dashboard's "Messagebox" module (the list view is the default view):

 

Messagebox Site Topics Page

Speech Balloon_Button_Option

 

Use one of the following to filter the display of topic information:

 

Use the buttons below to filter the display in terms of topic type (meaning, the direction for the messages included in a topic):

 

Mobile to Backend

Mobile to Back-end (default filter)

 

Backend to Mobile

Back-end to Mobile

 

Request

Request

 

 

Whatever the filter, you can organize the displayed topics and corresponding information into a list or grid view:

 

Button_List

Use this button to display the available information into a list view - this is the default view.

It provides the following information:

 

Status

The current status of the corresponding topic. The "Messagebox" service updates each topic's status accordingly.

A topic can have one of 4 possible statuses:

"Topic Active Icon Topic active"

"Topic Is Queuing Topic is queuing" (There are too many messages being posted by the sender for the receiver to process immediately, so there is a message queue.)

"Topic Inactive 1 day Topic inactive since at least one day"

"Topic Inactive 1 Hour Topic inactive since at least one hour"

You can get a caption with this information if you mouse over the displayed icon.

Topic Name

The name of the topic. If clicked, it opens the corresponding "...Topic Details" page.

Description

This field may or may not have information. Contains the info that was added in the corresponding "... Topic Details" page (in the "Description" field).

Activity

2 gauges that display message activity in the corresponding topic within the selected time period (60 minutes, 24 hours or 30 days).

If you mouse over the gauges, you get information on how many messages the topic received and how many have already been deleted.

Available Msg

Messages in the topic that are available for retrieval/reading by the receiving entity (device or back-end).

In Flight Msg

Messages being read in the topic by the intended receiver (device or back-end).

Last Message

How much time has passed since a message was sent to the corresponding topic.

Ack

The entity in charge of the "message read" acknowledgment:

Back-end - the "Ack" is returned to the device by the back-end.

Device - the "Ack" is returned to the back-end by the device.

Automatic - the "Ack" is managed by the "Messagebox" service and it is returned after the message is read to whatever entity (device or back-end) that sent it to the corresponding topic.

Msg TTL

How long the message will be available in the topic for retrieval/reading by the receiver. The message will be removed from the topic after that.

 

Button_GridUse this button to display information into a grid view:

 

Name

The name of the topic. If you click it, you access the corresponding "...Topic Details" page.

Last Msg

How much time has passed since a message was sent to the corresponding topic.

In Queue

How many messages are still waiting to be read in the current topic.

2 Gauges

The message activity in the corresponding topic within the selected time period ("60 min", "24 hours" or "30 days" which is defined in the corresponding "...Topic Details" page - "Activity" tab).

If you mouse over the gauges, you get information on how many messages the topic received and how many have already been deleted.

Description

Relevant notes regarding the topic. This info is added in a topic's "...Topic Details" page - "Properties" tab.

 

 

search boxUse the search box to look for topics:

 

a. Enter the name of the topic you want to search for.

b. Click lupa button or press <ENTER> in your PC keyboard to initiate the search.

c. To conclude, click the search box's Button_Delete button OR  empty it and click lupa button OR  press <ENTER> in your PC keyboard.

 

 

Site_Filebox_barUse the buttons, included in this bar, to organize the listed items of the corresponding column:

button_view ascendingby ascending order.

button_view descendingby descending order.

 

The "Topics" page also provides direct access to specific topic related operations:

 

Hide Show ColumnsUse this button to define which columns should be hidden or shown:

a. Click Hide Show Columns , which is located on the page's upper right corner, to open the list of available columns.

b. Check/uncheck the intended columns.

c. Click Hide Show Columns again to hide the list and apply.

 

Export Button Use this button to export a "*.csv" file with a list of topics. The export only concerns the currently filtered topics and corresponding displayed columns/information.

Ex: If Mobile to Backend ("Mobile to Back-end") is selected and if all columns are hidden except "Topic Name"; "Available Msg" and "Ack" (column selection performed in the Hide Show Columns listing), you export a "*.csv" file with a list of the existing "Mobile to Back-end" topics, in the site, with the following fields:

 

Site_Excel Topic Export

 

 

Refresh Button 2 This button is used to refresh the page and define a Page Refresh cycle:

Click Refresh Button 2 Half for an automatic Page Refresh.

Use Refresh Button 2 Half 2 to define the page's Page Refresh cycle:

a. Click Refresh Button 2 Half 2 to access the list with the available time periods (ex: "Disabled"; "Auto" (default option); "1 minute"; etc.).

b. Select the preferred Page Refresh cycle.

c. Click the arrow again to hide the list.

If you select "Disabled", the page's content is only refreshed when you click Refresh Button 2 Half .

A vertical blue gauge, in the middle of the button, displays the refresh cycle's progress.

 

Available Operations

 

To add a topic, use Add Header Button. This option is always available. For more detailed information, see Adding a Topic.

 

To copy a topic, use Messagebox Copy Topic Button . This option is only visible if you select one topic from the list.

When you click this button, it opens a "New Topic" page. For more detailed information on how to fill in this page, see To Copy a Topic.

 

To delete a topic, click Delete Header Button_New . This option is only visible if you select one or more topics from the list.

For more detailed information, see To Delete a Topic.

 

To empty the current topic of all its messages, click Messagebox Purge Topic Button2 . This option is only visible if you select one or more topics from the list.

For more detailed information, see To Purge a Topic.

 

 

This chapter describes the operations available regarding topics:

 

Topic/Operation

Description

View the selected topic's details.

Add a topic to allow message exchange between a specific sender and receiver.

Edit the details of the topic.

Read a message posted in the selected topic or send a message onto the selected topic.

Empty a topic of its messages or remove a topic from the "Messagebox" module.