Thanks for answering. I will take a look at the DatabaseObserver Interface. Isn't RMI over TCP/IP sufficient for the task you mentioned?
----- Original Message ----- From: "Gianugo Rabellino" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 12:33 PM Subject: Re: Message Exchange > Alex Mariano wrote: > > 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 >
