How to use JMS dynamic destinations in BusinessEvents.

How to use JMS dynamic destinations in BusinessEvents.

book

Article ID: KB0093891

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
To use JMS dynamic destinations in BusinessEvents, follow the format below while sending the outbound Event using the Event.routeTo function. Have the third argument in the Event.routeTo function as queue=true;name="NameofDynamicDestination".


Example:


        String destination ="routingQueue";

        Events.BookDataEvent afterRoute = Event.routeTo(toSend,
                                                        "/Channels/JMSChannel/BookDataDestination", "queue=true;name="+destination);


Issue/Introduction

How to use JMS dynamic destinations in BusinessEvents.

Resolution

The BE Engine now sends a SimpleEvent to the configured dynamic destination having the queue name as 'routingQueue'.