开发者

About best practices of JMS integration using TIBCO .Net client

I'm working on an integration project where I'm talking to JMS frame开发者_StackOverflowwork using TIBCO .Net client. A colleague is recommdending a design decision based on a fear of receiving too many messages suddenly in a way that our application can't handle it. We are using Asynchronous mode while receiving messages. I'm new to that topic so I couldn't find quick best practices to support his clam or mine. Any suggestions? How can I test this subject?


After I tested the subject for a while I found out there's no fear of number of received messages. The major point won't be in receiving itself but in the processing of received message. This is what determines the actual performance of application.

In a previous design, We have separated the Receiver component from Processor component & That resulted in delay because we have to wait till receiver finishes then to start processing received messages via the another component.

This design is being changed now. So, processing should be immediately upon a message reception. Message receiving should be Asynchronously through handling the event MessageHandler of type EMSMessageHandler and this is the best practice for message receiving so far.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜