[
https://issues.apache.org/jira/browse/SMX4NMR-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang moved SMX4-806 to SMX4NMR-270:
-------------------------------------------
Key: SMX4NMR-270 (was: SMX4-806)
Project: ServiceMix NMR (was: ServiceMix 4)
> 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
>
> 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