camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <>
Subject Re: Camel 2.0 - UID generator in Camel
Date Mon, 13 Oct 2008 14:35:26 GMT
On Sun, Oct 12, 2008 at 3:21 AM, Claus Ibsen <> 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.

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

Apache ActiveMQ -
Apache Camel -
Apache ServiceMix -


View raw message