Design of a messanging application
HI all,
i am designing a messenging application which has following modules :
UI Module
DB Module
Messenging Module
UI to DB connector
UI to Messenging connector
My problem lies in Messenging module. The purpose this modules is, it should provide a destination for the messages and an interface through which UI components can comunicate with it.
Out of few option i found JMS to be used for Messenging module and developed this component with a Queue through which messages are browsed and retrived. But when the Queue has say, more than 5000 messages then the reponse to the UI is very slower as the whole queue has to be browsed and then some logic is being applied b4 selecting perticular message.
I 've also tried other possibilities in JMS, but the above logic was most fit. Now, i can see the practical limitations with my design.
I need suggestion over the Messenging module desing. Is there any other alternative which can deliver smooth functioning? it may not necessary be a JMS technology.
The purpose of Messenging module in brief: An application component which provide destination (or say storage) for messages and expose an interface for other modules to connect with (e.g. interface contains methods say sendMessage(Message) , receiveMessage() )
WIth best regards.

