Event processes use JMS Destinations to store and pass messages between the business components. There are two types of destinations—Queue and Topic. Refer JMS 2.0 Specification for more details.
Destinations can be managed from eStudio

  1. Open Connection Management tab, and login to the required FPS ; Queues and Topics appear under Destinations node.
  2. Select Queues or Topics to view the corresponding entities.
    • Selecting a destination will show its details in the Properties tab as shown in figure1.
    • Right-click any of the queues to provide options to edit ACL, subscribe/browse the messages and delete the queue.
    • Right- click any of the topics to provide options to edit ACL, subscribe the messages and delete the topic.
Icon

Deleting a destination automatically removes all the stored messages. Please use the Delete option judiciously, as there will be Destinations which are being used by the Server or could also be used by a running event process.


Figure 1

Also note, if a Queue has messages stored in it, it will be displayed in bold formatting as shown in the figure below.


Figure 2

Once an event process is launched, all the destinations required for it will be created.

Example:

As the Simple Chat event process is launched, all the queues and topics required for the event process are created as shown in the figure below.


Figure 3

But once the event process is stopped, all the Destinations will be deleted by default. In the figure below, all the default destinations for the SimpleChat event process are deleted.


Figure 4

Delete Destination After Stop

When the event process is stopped, all the corresponding destinations along with the messages will be deleted. So, if there are unconsumed (pending) messages, then stopping an event process leads to the loss of those messages. One general way to prevent this situation is to avoid stopping the application when there are unconsumed messages.

As an alternative, use the DeleteDestinationAfterStop option to delete the destination for an event process when it is stopped. As this option is enabled by default, it needs to be disabled to avoid deletion (keep the messages without deleting them) after the event process is stopped.

This option can be controlled at two levels as explained in the below sections:

At FES Level

  1. Open Connection Management perspective and login to FES-JMX.
  2. Navigate through JMX-Connection > Fiorano > ESB > Application > Controller > Application Controller > Application Controller and select config.
  3. Set the Delete Destinations value to 'No' from the drop-down.
  4. Right-click FES-JMX and click Save Configurations.


Figure 5

At Event Process Level

  1. Create an event process and then go to the Properties tab.
  2. Under General tab, select 'No' from the Delete Destinations After Stop drop-down menu.


Figure 6

Priority

Setting Delete Destination After Stop at the FES level applies the value to all the topics and queues of all the event processes. However, it can always be set individually at the Event Process level, that is, enabling the Delete Destination After Stop option for that particular event process. The value set at this level overrides the one set at the FES Level.

Adaptavist ThemeBuilder EngineAtlassian Confluence