Administrator

Logic

Use the preferences option in the Operations Dashboard to manage logic configuration data.

MessageLogicImpl

The MessagingLogicImpl is the core business logic class in the message gateway.

  • Preferences node: /businesslayer/com/sybase365/mobiliser/util/messaging/logic/impl/MessagingLogicImpl
  • ConfigAdmin PID: com.sybase365.mobiliser.util.messaging.logic.impl.MessagingLogicImpl
You can set these configuration options:
Key Default Description
defaultChannel defaultQ Allows clients of the message gateway to specify the name of the channel to use when sending a message. If no value is specified, the default channel ID is used. You can update this value at runtime.
disableEncryption false Overrides message encryption at the global level. Encrypted mail jobs are decrypted, but new jobs are written to the database in plain text. This can be useful during testing.

MessageDispatcher

The MessageDispatcher polls the mail jobs table and dispatches messages to ChannelManager for sending.

  • Preferences node: /businesslayer/com/sybase365/mobiliser/util/messaging/logic/dispatcher/MessageDispatcher
  • ConfigAdmin PID: com.sybase365.mobiliser.util.messaging.logic.dispatcher.MessageDispatcher
You can set these configuration options:
Key Default Description
interval 3000 Interval between runs of the dispatcher, in milliseconds. You can update this value at runtime.
batchSize 50 Maximum number of mail jobs to select for processing during a run. You can update this value at runtime.
maxInterval 60000 Maximum interval if no jobs are found to dispatch. You can update this value at runtime.
prefsBullyName GW-MESSAGE Name of the bully algorithm name used to prevent duplicate processing of mail jobs. You can override this value using this system property:

com.sybase365.mobiliser.util.messaging.logic.dispatcher.MessageDispatcher.bullyService

Runtime updates of the preference value or the system property are ignored.