Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
priority between SQL connectors
sp_NewPost Add Reply sp_NewTopic Add Topic
November 15, 2018
10:50 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The priority works until the message is pre-loaded in the gateway. After the message is pre-loaded in the gateway, probably together with a batch of other messages, it is sent in the order of the time that the message was loaded in the batch.

If you have a different gateway for each connector then the gateway will try to load 'MaximumBatchSize' messages from this connector and send them. When the connector gets a new message with a higher priority the gateway will first send the messages already in the batch before it sends the new message.

How do you set the priority? Do you use the 'SendPriority' property in the advanced settings of the connectors or do you use the 'Priority' field of the 'MessageOut' database table. The first option does not make sense when you use separate gateways for each connector. When you use the second option then you have to set the 'SendPriority' property in the advanced settings of the connectors to '0' and make sure that the SQL Connector uses the 'Priority' field from the database table. This is field is not used by default for ODBC and OLE DB connections.

Regards, Henk

November 14, 2018
2:33 pm
Roberto
Guest
Guests

Thank you Henk for your answer.

So the priority only works with the batches loaded at the same time in each GSM modem gateway? Even though I have a different GSM gateway modem for each connector?

regards.

November 8, 2018
3:59 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Roberto,

If you have set the 'SendPriority' property in the advanced settings of the SQL Connector to 1 for two SQL Connectors and to 10 for one of the SQL Connectors then the messages that are sent with the priority 10 will be placed in front of the message queue.

This does not mean that the messages with priority 10 are always sent before the messages with priority 1. Each gateway will try to preload a batch of messages from the send queue and a message with a higher priority might not be picked up from the send queue until the preloaded batch in the gateway has decreased enough to allow a new batch to be loaded. If you set the 'MaximumBatchSize' property on each gateway to 1 the handling of the priority will be more consistent but the performance of Diafaan SMS Server will go down.

Regards, Henk

November 8, 2018
2:23 pm
Roberto
Guest
Guests

Hello!

I have a question about Diafaan's priority system.

I have three sql connector and I need one to have the SMS output priority over the others, therefore, I set its SendPriority to 10 and the other two to 0, but when all the connectors sent at the same time, the priority did not work .
Then try leaving the Sendpriority of the two sql connectors in 1 and the sql connector that needs priority remain in 10, but it did not work either.

Am I setting some parameters wrong?

regards

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488