On Sun, Oct 12, 2008 at 3:21 AM, Claus Ibsen <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am wondering if we should consider changing the UID generator in Camel.
> BTW: Is the UID generator code from ActiveMQ or where is it from?
>
> Currently it uses / in the UID and this is not file friendly and it's tied to
> the local machine (hostname).
>
> Shouldn't we have a 100% neutral ID?
> We could maybe use java.rmi.server.UID to generate it
>
> Maybe we could make it pluggable, as I have been wondering it would be nice
> for testing and development to use simple int counters so you can see from
> the exchange id that it's the 3th exchange etc.
Why not just wrap java.util.UUID? Pluggability sounds like a good idea.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Blog: http://bruceblog.org/