Hello,
I am developing an online callcenter application and all the messages exchanged between costumers and company are stored in Xindice.
I am working with RMI. The client application has a 5-seconds-timer that invoke a server method, asking xindice whether there is a message or not. If so, the server delete this message.
My question is: How can I control this by event? For instance: when an attendant sends a message, it should be sent directly to the consumer. This would eliminate asking Xindice every 5 seconds period.
If you are willing to code your way through, there is already an hook for you with the DatabaseObserver interface. But the network transport and the inversion of control (as it stands now any Xindice driver is based on a pull-model, you need push) are something you need to create. You might want to consider something based on JMS or any other messaging middleware.
Ciao,
-- Gianugo Rabellino
