-
1. Re: MailListeners and Beanshells
djmalan Mar 16, 2005 2:24 AM (in response to acoliver)"altering/reading/searching/matching headers":
The message store does not currently provide indexing functionality. We can either add this functionality to the store using SQL queries, or maybe implement a Lucene index. Your thoughts Mike? -
2. Re: MailListeners and Beanshells
acoliver Mar 16, 2005 5:50 AM (in response to acoliver)Actually, it ought to be on the way IN so no index/search necessary. What may get interesting is the interaction of the bodies and matching on content (which we'll also need). It'd be good to delegate as much of this to the DB as possible but its probable we'll not be able to some/most of it.
-
3. Re: MailListeners and Beanshells
djmalan Mar 16, 2005 5:54 AM (in response to acoliver)Mmmm, yes of course you're right, no index required.
-
4. Re: MailListeners and Beanshells
mikezzz Mar 17, 2005 9:09 AM (in response to acoliver)I have some inklings to use AOP for security
This is good news. I would like to use AOP for transaction management as the JBoss apects give the same coverage as EJBs.
Mike. -
5. Re: MailListeners and Beanshells
acoliver Mar 17, 2005 9:47 AM (in response to acoliver)Yeah but doesn't using AOP for pluggable security in the mail server feel a bit naughty?
Now the naughtiest thing is that I have thoughts on how to implement almost exactly what we need so far as security goes with a combination of AOP and hibernate 3 filters... However whenver I think of it, I feel a bit like I'm standing in Times Square wearing leopard underwear while standing next to a red felt shays lounge and with two 19 year old models in bikinis in arm while smoking a cigar and drinking martinis. Maybe I should just go with it.
Anyhow, it makes total sense to me to ditch all stateless session beans and go to POJO+AOP for transactions. But not for M3. We need to knock that one out first. I'll stick some refactoring of MBeans and all in M4 as well. -
6. Re: MailListeners and Beanshells
mikezzz Mar 18, 2005 3:04 AM (in response to acoliver)Sounds my last friday night....
Currently the store doesn't use EJBs it uses the Client Transaction explicitly, which really does make you feel dirty afterwards.
AOP transactions for the store will be M4.
Mike. -
7. Re: MailListeners and Beanshells
mikezzz Mar 18, 2005 3:13 AM (in response to acoliver)or maybe implement a Lucene index
This is not such a bad idea. Perhaps not to support the Mail API but to support protocols that require search. We could use lucene, or roll our own that will allow joins directly from the index to the message rows. I think this could be a POC task for M4. If it will be useful, implement in M5.