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.ieu...@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-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>

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

Reply via email to