[
https://issues.apache.org/activemq/browse/CAMEL-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60972#action_60972
]
Christian Mueller commented on CAMEL-2752:
------------------------------------------
I have done the following changes:
- renamed UUIDGenerator to UuidGenerator
- renamed SimpleUUIDGenerator to SimpleUuidGenerator
- renamed SimpleUUIDGeneratorTest to SimpleUuidGeneratorTest
- renamed ActiveMQUUIDGenerator to ActiveMQUuidGenerator
- renamed ActiveMQUUIDGeneratorTest to ActiveMQUuidGeneratorTest
- renamed DefaultUUIDGenerator to DefaultUuidGenerator
- renamed DefaultUUIDGeneratorTest to DefaultUuidGeneratorTest
- moved UuidGenerator to "org.apache.camel.spi"
- moved SimpleUuidGenerator to "org.apache.camel.impl"
- moved SimpleUuidGeneratorTest to "org.apache.camel.impl"
- moved ActiveMQUuidGenerator to "org.apache.camel.impl"
- moved ActiveMQUuidGeneratorTest to "org.apache.camel.impl"
- moved DefaultUuidGenerator to "org.apache.camel.impl"
- moved DefaultUuidGeneratorTest to "org.apache.camel.impl"
- renamed getUUIDGenerator to getUuidGenerator
- renamed setUUIDGenerator to setUuidGenerator
- renamed generateUUID to generateUuid
I have no idea, how we could prevent the users to re-setting the UuidGenerator
on the context. Any suggestions?
Claus, which class/package I have to update to let the user set a custom
UuidGenerator
([advanced-configuration-of-camelcontext-using-spring.html|http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html])?
If you agree with the changes, I will update the page
[advanced-configuration-of-camelcontext-using-spring.html|http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html].
Any other pages to update/create?
Christian
> Pluggable UUID generator
> ------------------------
>
> Key: CAMEL-2752
> URL: https://issues.apache.org/activemq/browse/CAMEL-2752
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.3.0
> Reporter: Claus Ibsen
> Assignee: Christian Mueller
> Fix For: 2.5.0
>
> Attachments: Camel-2752.patch
>
>
> To allow end users to use a customer ID generator.
> We should have out of the box
> - JavaUUID (default)
> - ActiveMQUUID which uses the same logic as AMQ
> - Sequence or something for testing purpose which just use a ID counter.
> Makes it easier for testing to *spot* correlated messages in the logs etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.