[ https://issues.apache.org/activemq/browse/AMQCPP-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38812
]
Teemu Torma commented on AMQCPP-87:
-----------------------------------
UUID generation might be slow, that is why counter. I don't really care
which way though.
I disagree the new UUID would be more unique than counter approach. The
UUID is already unique for the factory, and adding something to it does
not make it less unique.
> ActiveMQConnectionFactory creates only one unique clientId
> ----------------------------------------------------------
>
> Key: AMQCPP-87
> URL: https://issues.apache.org/activemq/browse/AMQCPP-87
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Openwire
> Affects Versions: 2.0
> Reporter: Teemu Torma
> Assigned To: Nathan Mittler
> Attachments: connection-factory.patch
>
>
> ActiveMQConnectionFactory creates only one unique clientId. This prevents creating multiple
connections using the same factory.
> The attached patch creates uuid once, and adds a counter to it if needed. It is just
a proposal, and I have only very quickly tested it on linux/gcc 4.1.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|