Example 2  Example 4

Chapter 2: Overview of Real Time Messaging Services

Example 3

This example publishes a message to a topic:

sp_msgadmin register, subscription,sub1,
     'tibco_jms:tcp://my_jms_host:7222?topic=topic.sample'
select msgpublish
     ('hello world', 'sub1' MESSAGE PROPERTY 'city=Boston')




Copyright © 2004. Sybase Inc. All rights reserved. Example 4

View this book as PDF