If not supplied, the message will not expire.
See also:
• WL.Server.readSingleJMSMessage(options)
• WL.Server.readAllJMSMessages(options)
• WL.Server.requestReplyJMSMessage(options)
• JMS Adapter
WL.Server.requestReplyJMSMessage(options)
This API method writes a JMSText message to a defined queue and then awaits a response on a
second queue. The second queue is dynamically created to receive the message and is then
disposed of at the end.
• options – The options used to write the message to the queue and wait for a response.
◦ destination – The JNDI name of the queue into which the message will be written.
◦ message – The message to be written to the queue.
▪ body – The body (content) of the message.
▪ properties – The JMS message header properties.
◦ timeout – The optional duration in milliseconds to wait for a message to arrive if no
message is immediately available. A value of 0 means wait indefinitely while a value
less than 0 means do not wait at all. If not supplied, the default is not to wait.
◦ ttl – The optional message time to live. If the message is not consumed from the
queue within this interval, it will self destruct. The interval is measured in milliseconds.
If not supplied, the message will not expire.
See also:
• WL.Server.readSingleJMSMessage(options)
• WL.Server.readAllJMSMessages(options)
• WL.Server.writeJMSMessage(options)
• JMS Adapter
Page 124
Kommentare zu diesen Handbüchern