sp_configure 'enable real time messaging'

Description

Enables, disables, or displays current real time messaging configuration.

Syntax

sp_configure "enable real time messaging",
	[enable_or_disable], [java_message_service]

Parameters

enable_or_disable

specifies whether or not to enable or disable the "real time messaging" option. Valid values are:

  • 1 – enables real-time messaging.

  • 0 – disables real-time messaging.

If omitted, the current "real time messaging" configuration is returned.

java_message_service

allows you to specify the JVM you are enabling or disabling. Valid options are:

  • eas_jms – enables or disables "real time messaging" for EAServer only.

  • ibm_mq – enables or disables "real time messaging" for IBM MQ only.

  • sonicmq_jms – enables or disables "real time messaging" for SonicMQ JMS only.

  • tibco_jms – enables or disables "real time messaging" for TIBCO JMS only.

Examples

Example 1

Enables real time messaging for all providers :

sp_configure "enable real time messaging",1

You can then disable this with:

sp_configure "enable real time messaging",0

Example 2

Enables real-time messaging for MQ only:

sp_configure "enable real time messaging", 1 ,ibm_mq

You can then disable this with:

sp_configure "enable real time messaging", 0, ibm_mq

Example 3

Enables real-time messaging for TIBCO only:

sp_configure "enable real time messaging", 1 ,tibco_jms

Usage

Beginning in RTDS version 4.5 ESD #1, using this stored procedure no longer overwrites your previous setting. For example, if you enable tibco_jms, then run this stored procedure to enable MQ, both MQ and tibco_jms become enabled. Disabling tibco_jms does not affect MQ, which will continue to be enabled.

The enable_or_disable parameter works only if the following are installed and set up correctly:

See the Real-Time Data Services Installation and Release Bulletin for details on paths and file names.