简体   繁体   中英

Tibco- EMS Queues

my requirement is to set-up EMS setting as below.. Is this feasible? 1. The parent EMS queue. 2. The child EMS listened by Tibco BW Engine.

The EMS queue will receive thousands of messages every minute.. parent queue has to pile up the messages and passes limited messages to child queue say 1000 is the limit.. Ie child queue should have 1000 messages and rest of the messages should be in parent queue.. Once the thousand messages in child queue is consumed by Tibco BW, parent queue to send next thousand messages to the child queue.. Is this can be done?

I see two ways:

1 - To do exactly what you suggest, you would need a BusinessWorks "control" component, reacting to a signal sent from the "emptying" of the child queue, and transferring exactly 1000 messages from parent to child (via a transaction and with persistence if you can't loose any messages). I have no idea why you would do that... but this answers to the requirements

2 - Assuming that your question is related to pacing of the outbound messages (child queue) WITHOUT pacing the inbound messages (parent queue), then I suggest something else : Use the flowControl EMS Destination property, and limit the flow of message another way. By default, if you implement a flowControl of 10000KB with messages of an average of 10KB, then you should have a similar limit as the one you requested. The plan would then be to bridge your "parent" to your "child", and to implement flow control on both destinations (with different values) AND the bridge itself (as stated in the "Destination Bridges and Flow Control" section of the user guide).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM