Use ActiveMQUuidGenerator as the default uuid generator as its faster than the
JDK UUID generator
-------------------------------------------------------------------------------------------------
Key: SMX4-806
URL: https://issues.apache.org/jira/browse/SMX4-806
Project: ServiceMix 4
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