You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2011/04/15 05:04:07 UTC
[jira] [Resolved] (SMX4NMR-270) Use ActiveMQUuidGenerator as the
default uuid generator as its faster than the JDK UUID generator
[ https://issues.apache.org/jira/browse/SMX4NMR-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved SMX4NMR-270.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
commit fix
http://svn.apache.org/viewvc?rev=1092573&view=rev for nmr
http://svn.apache.org/viewvc?rev=1092574&view=rev for features
> Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator
> -------------------------------------------------------------------------------------------------
>
> Key: SMX4NMR-270
> URL: https://issues.apache.org/jira/browse/SMX4NMR-270
> Project: ServiceMix NMR
> Issue Type: Improvement
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 1.5.0
>
>
> we have such code
> public ExchangeImpl(Pattern pattern) {
> this.id = UUID.randomUUID().toString();
> this.status = Status.Active;
> this.role = Role.Consumer;
> this.pattern = pattern;
> }
> but UUID.randomUUID() is a well-known source of synchronization bottlenecks. we should use ActiveMQUuidGenerator for better performance.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira