-
-
Notifications
You must be signed in to change notification settings - Fork 7
Messaging
Dannes Wessels edited this page Dec 8, 2013
·
38 revisions
A JMS message can be sent by calling the jms:send() function with three parameters:
jms:send(
$content as item(), $jmsMessageProperties as map(*)?, $jmsConfiguration as map(*)
)-
$contentis the actual data that must be sent. This can be an XML fragment or a XSD type -
$jmsMessagePropertiesare additional key-value pairs which can be used as meta-data -
$jmsConfigurationare the JMS configuration parameters.
Check the complete [example](Example send message) for inspiration.
jms:register(
$callback as function(*), $additionalParameters as item()*, $jmsConfiguration as map(*)
)handleMessage(
$content as item(), $additionalParameters as item()*,
$messageProperties as map(*), $jmsConfiguration as map(*)
)[Example](Example receive messages)
jms:list() as xs:string*jms:report($id as xs:string) as node()jms:start($id as xs:string)jms:stop($id as xs:string)jms:close($id as xs:string)