These examples show <msgheader> or <msgproperties> documents for two select statements:
select msgsend(’Sending message with properties’, ’my_jms_provider?queue=queue.sample’, MESSAGE PROPERTY ’color=red, shape=square’)
select msgrecv(’my_jms_provider?queue=queue.sample’)
select rtrim (@@msgproperties)
<?xml version=’1.0’ encoding=’UTF-8’ standalone=’yes’ ?> <msgproperties RTMS_MSGBODY_FORMAT=''string'’ ASE_RTMS_CHARSET=’1’ ASE_RTMS_VERSION=’'1.0'’ ASE_VERSION=’'12.5.0.0'’ shape=’'square'’ color=’'red'’ ></msgproperties>
select rtrim (@@msgheader)
<?xml version=’1.0’ encoding=’UTF-8’ standalone=’yes’ ?> <msgheader type=’'NULL'’ timestamp='1080092021000’ replyto=’'queue.sample'’ redelivered=’false’ priority=’4’ messageid=’'ID:E4JMS-SERVER.73018656B39:1'’ ttl=’0’ destination=’'queue.sample'’ mode=’2’ correlation=’'NULL'’ encoding=’'NULL'’ ></msgheader>
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |