Try OpenEdge Now
Messaging and ESB
Implementing Messaging
:
Working with messages
:
Message life cycle
:
Managing the sending life cycle of an ABL - JMS message
Managing the sending life cycle of an ABL - JMS message
To manage the sending life cycle of an ABL–JMS message:
1.
Create a message by running one of the following procedures in the Session object:
createBytesMessage procedure
,
createDataSetMessageprocedure
,
createHeaderMessageprocedure
,
createMapMessage procedure
,
createMultipartMessage procedure
,
createStreamMessage procedure
,
createTempTableMessageprocedure
, or
createXMLMessage procedure
.
2.
Populate a message by running
set...
and
write...
for header and data information.
3.
Send the message to a destination.
4.
Run the
deleteMessageprocedure
to delete the message.