james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <norman.mau...@googlemail.com>
Subject Re: problem implementing UUID as mailboxID
Date Tue, 12 Jul 2011 18:23:10 GMT
Nope thats wrong..

Have a look at JCRMessage to see how it use "String" as a mailbox Id
and but still use long as uid.

http://svn.apache.org/viewvc/james/mailbox/trunk/jcr/src/main/java/org/apache/james/mailbox/jcr/mail/model/JCRMessage.java?view=markup

Hope it helps,
Norman


2011/7/12 Ioan Eugen Stan <stan.ieugen@gmail.com>:
> Hello,
>
> I'm having some dificulties implementing mailboxID as UUID. The
> problem is that the change propagates to AbstractHBaseMessage and then
> to the Message interface. The use of generics in some interfaces and
> abstract classes is that the same generic type is used for both
> Mailbox ID and Message ID.
>
> This means that I have to change the Message UID to UUID also, but
> this contradicts the IMAP RFC where the Message has a 32 bit UID. UUID
> is 128 bit long.
>
> What should I do?
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message