You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2007/10/15 15:08:23 UTC

[jira] Resolved: (AMQCPP-146) Refactor sequence id generation in the connectors

     [ https://issues.apache.org/activemq/browse/AMQCPP-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-146.
---------------------------------

    Resolution: Fixed

Changes added to trunk.  Tests all pass.

> Refactor sequence id generation in the connectors
> -------------------------------------------------
>
>                 Key: AMQCPP-146
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-146
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>          Components: Openwire, Stomp
>    Affects Versions: 2.1
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> Instead of having a methods in the connectors to create ids, create a class in activemq util called LongSequenceGenerator that will be used in the connectors to create the Ids.  This class will be thread safe.
> Refactor the connector code to use this generator class and remove all the getNextXXXId methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.