msgsubscribe

Description

JMS only – provides a SQL interface to subscribe a topic for the current Adaptive Server session.

Syntax

msg_subscribe::= msgsubscribe
	(subscription_name)
		subscription_name::=basic_character_expression

Parameters

subscription_name

is the name of the subscription to which you are subscribing. A basic_character_expression.

Examples

Example 1

Tells the JMS messaging provider to begin holding messages published to the topic registered as “subscription_1”:

select msgsubscribe ('subscription_1')

Usage