Enables, disables, or displays current real time messaging configuration.
sp_configure "enable real time messaging", [enable_or_disable], [java_message_service]
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.
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.
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
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
Enables real-time messaging for TIBCO only:
sp_configure "enable real time messaging", 1 ,tibco_jms
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:
The appropriate LD_LIBRARY_PATH for your platform
The provider DLL libraries
SYBASE licenses
The SYBASE interface libraries from the CD
See the Real-Time Data Services Installation and Release Bulletin for details on paths and file names.