BusinessWorks(BW) 6.x JMSRequestReply activity - ReplyEvent created in BusinessEvents(BE) not processed when payload of the Event empty
book
Article ID: KB0070357
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Description
The replyEvent created in TIBCO BusinessEvents(BE) not processed by BW activity "JMSRequestReply" when the "Message Type" is "XML Text" and the payload of the replyEvent is empty.
No error reported in BW.
Issue/Introduction
BW JMSRequestReply activity will not load the replyEvent created in BE when payload is empty and "Message Type" set to "XML Text"
Environment
All Operating Systems
Resolution
The default "Message Type" of the JMSRequestReply activity set to "XML Text". In that case BW expects valid XML data in the message body (Event payload). When the payload is empty BW ignores the reply Event (no error in log).
There are two options to process the replyEvent.
1. Option: Modify the "Message Type" to "Text" for the JMSRequestReply activity Note: If the input event has a payload, add a "RenderXML" activity to render the payload of the input event and assign the rendered string to the "Body" of the JMSRequestReply activity.
2. Option: Update the BW process and the BE project BE project - Add a payload to the replyEvent - Map 'dummy' values to the Event payload when create the reply Event (XSLT mapper)
BW process - Open "JMSRequestReply" activity and add the Schema Element in output Editor (same as configured for the Event payload)