msgsubscribe  endpoint

Chapter 4: SQL Reference

msgunsubscribe

Description

TIBCO JMS only – 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 JMS message provider.

Examples

Example 1

Tells the 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. endpoint

View this book as PDF