How TIBCO BusinessEvents Sets the JMSReplyTo Header in Outgoing Messages
Note: TIBCO BusinessEvents cannot act as a client in a JMS request-response scenario because TIBCO BusinessEvents currently cannot dynamically create a destination to listen for JMS messages.
If an event has a string type property named JMSReplyTo
(case sensitive), TIBCO BusinessEvents reads this event property value as a JMS queue or topic name, according to the event's default destination type. TIBCO BusinessEvents looks up the javax.jms.Destination
on the connected JMS server using this queue or topic name. If TIBCO BusinessEvents cannot find one, it creates a new javax.jms.Destination
using the given queue or topic name. TIBCO BusinessEvents then sets the JMSReplyTo
header property of the outgoing JMS message using this destination
Note: If you use the catalog function
Event.replyEvent(
requestEvent
,
replyEvent
)
during the RTC in which the requestevent
is received, then the replyevent
is sent to the destination in the JMSReplyTo
header property of the JMS message associated with the requestevent
.