Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Messaging workstep : Message publisher workstep : BP Server operations on activation of a publisher workstep
 

BP Server operations on activation of a publisher workstep

BP Server performs the following operations when a publisher workstep is activated.
1. Create a JMS message with header conatining message name as the value of the header property MessageName. BP Server also adds other system properties to identify the sender. For example, SenderAppName, SenderTemplateName, SenderInstanceId, SenderTaskName.
2. Add other properties in the JMS header as specified in the publisher workstep.
3. Create an XML instance of the specified XML Template using the payload properties chosen from the metadata in the publisher workstep. The value of the property (which points to an XPath expression in the metadata) is taken from the corresponding mapped dataslot.
4. Add the XML instance as the payload of the message created in step 1.
5. Publish the fully constructed message to the specified channel (message destination).