You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Danny Angus <da...@apache.org> on 2003/01/09 16:53:29 UTC

Mailet Mail attributes

Serge wrote stuff including:

> class loading.  Beyond that, I see mailet attributes, mordred
> preplacement, and I'd like to explain my virtual mounting ideas,

I've been wondering about Mail attributes, and how they would impact
repositories.

I thought that we should limit attributes to being Strings, is there any
_real_ need to do more?

d.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Mailet Mail attributes

Posted by Serge Knystautas <se...@lokitech.com>.
Serge Knystautas wrote:
> Danny Angus wrote:
>> I thought that we should limit attributes to being Strings, is there any
>> _real_ need to do more?
> I'd like to.

Sorry, to be clear, "I'd like to do _more_"

-- 
Serge Knystautas
Loki Technologies
http://www.lokitech.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Mailet Mail attributes

Posted by Serge Knystautas <se...@lokitech.com>.
Danny Angus wrote:
> Serge wrote stuff including:
> 
> 
>>class loading.  Beyond that, I see mailet attributes, mordred
>>preplacement, and I'd like to explain my virtual mounting ideas,
> 
> 
> I've been wondering about Mail attributes, and how they would impact
> repositories.
> 
> I thought that we should limit attributes to being Strings, is there any
> _real_ need to do more?

[replying on dev as well]

I'd like to.  It's been a while since I thought through some examples on 
the mail attributes... simplest example is someone having a custom bean 
they want stored, or maybe a timestamp, a vector/array.  Sure in most 
cases a String could handle these if you require the developer to do the 
translation/serialization.

Put another way, is there a reason to limit attributes to Strings?  It 
seems we're either storing a Properties object or serialization a Map. 
So, we either have a large text or large binary field we need to add.

-- 
Serge Knystautas
Loki Technologies
http://www.lokitech.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Mailet Mail attributes

Posted by Danny Angus <da...@apache.org>.
Noel, Serge,

> [please note: I'm posting the reply on james-dev@]

yes sorry, absentmindedness seems to be my calling card these days.

> I'm beginning to think that we need to organize the James v3
> discussion, and
> focus on one thing at a time until we have a consensus on the
> design.  Then
> we can put them design notes into the status file, and people can pick
> things to work on confident that there is a consensus on the overall
> approach.

Quite agree, the changes I've made have deliberately been restricted to
scratching one particulr itch, that it was difficult to develop and deploy
mailets in isolation from james build process.

Now that I've got it out of my system I feel no compunction to go mad,
particularly not when I feel ambivalent about most of the other issues.

I've raised a number of points recently simply in order to provoke the
discussions we need to have in order to get a concensus.


> Now ... with respect to Mail and User attributes, Serge has indicated that
> he'd like to be able to store serialized objects.  I have some reasons for
> agreeing with him, such as being able to store proxy objects in the store.

Fine by me.

> I agree that they impact store design.  Stores are one of the
> things that I
> think really need to be reconsidered from multiple perspectives.

+1, but we don't have to do everything at once.

d.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Mailet Mail attributes

Posted by "Noel J. Bergman" <no...@devtech.com>.
Danny,

[please note: I'm posting the reply on james-dev@]

I'm beginning to think that we need to organize the James v3 discussion, and
focus on one thing at a time until we have a consensus on the design.  Then
we can put them design notes into the status file, and people can pick
things to work on confident that there is a consensus on the overall
approach.

Now ... with respect to Mail and User attributes, Serge has indicated that
he'd like to be able to store serialized objects.  I have some reasons for
agreeing with him, such as being able to store proxy objects in the store.

I agree that they impact store design.  Stores are one of the things that I
think really need to be reconsidered from multiple perspectives.

	--- Noel

-----Original Message-----
From: Danny Angus [mailto:danny@apache.org]
Sent: Thursday, January 09, 2003 10:53
To: James Users List
Subject: Mailet Mail attributes


Serge wrote stuff including:

> class loading.  Beyond that, I see mailet attributes, mordred
> preplacement, and I'd like to explain my virtual mounting ideas,

I've been wondering about Mail attributes, and how they would impact
repositories.

I thought that we should limit attributes to being Strings, is there any
_real_ need to do more?

d.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>