msgsubscribe  option_string

Chapter 4: SQL Reference

msgunsubscribe

Description

Provides a SQL interface to subscribe or unsubscribe to a topic.

Syntax

msg_unsubscribe::=msgunsubscribe 
	(subscription_name [with {remove | retain}])
subscription_name::=basic_character_expression

Parameters

subscription_name

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

with{remove | retain}

removes or retains the durable subscription from the EMS message provider.

Examples

Example 1

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

select msgunsubscribe('subscription_1')

Usage





Copyright © 2005. Sybase Inc. All rights reserved. option_string

View this book as PDF