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. |
|
|