You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Sosnoski (JIRA)" <ji...@apache.org> on 2011/02/04 11:28:27 UTC

[jira] Created: (CXF-3308) WS-RM change to use long instead of BigInteger for sequence numbers

WS-RM change to use long instead of BigInteger for sequence numbers
-------------------------------------------------------------------

                 Key: CXF-3308
                 URL: https://issues.apache.org/jira/browse/CXF-3308
             Project: CXF
          Issue Type: Improvement
          Components: WS-* Components
            Reporter: Dennis Sosnoski


The current WS-RM code uses BigInteger for all sequence numbers, making the code to compare and work with sequence numbers very cumbersome. Changing to long values would still allow for over 291,271 years of continuous operation at 1 million operations per second, so is probably sufficient.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CXF-3308) WS-RM change to use long instead of BigInteger for sequence numbers

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski updated CXF-3308:
---------------------------------

    Attachment: final-long.diff

> WS-RM change to use long instead of BigInteger for sequence numbers
> -------------------------------------------------------------------
>
>                 Key: CXF-3308
>                 URL: https://issues.apache.org/jira/browse/CXF-3308
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>            Reporter: Dennis Sosnoski
>         Attachments: final-long.diff
>
>
> The current WS-RM code uses BigInteger for all sequence numbers, making the code to compare and work with sequence numbers very cumbersome. Changing to long values would still allow for over 291,271 years of continuous operation at 1 million operations per second, so is probably sufficient.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CXF-3308) WS-RM change to use long instead of BigInteger for sequence numbers

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993229#comment-12993229 ] 

Dennis Sosnoski commented on CXF-3308:
--------------------------------------

Attached patch against trunk Revision: 1069343

> WS-RM change to use long instead of BigInteger for sequence numbers
> -------------------------------------------------------------------
>
>                 Key: CXF-3308
>                 URL: https://issues.apache.org/jira/browse/CXF-3308
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>            Reporter: Dennis Sosnoski
>         Attachments: final-long.diff
>
>
> The current WS-RM code uses BigInteger for all sequence numbers, making the code to compare and work with sequence numbers very cumbersome. Changing to long values would still allow for over 291,271 years of continuous operation at 1 million operations per second, so is probably sufficient.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (CXF-3308) WS-RM change to use long instead of BigInteger for sequence numbers

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-3308:
--------------------------------

    Assignee: Daniel Kulp

> WS-RM change to use long instead of BigInteger for sequence numbers
> -------------------------------------------------------------------
>
>                 Key: CXF-3308
>                 URL: https://issues.apache.org/jira/browse/CXF-3308
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>            Reporter: Dennis Sosnoski
>            Assignee: Daniel Kulp
>         Attachments: distribution-long.diff, final-long.diff
>
>
> The current WS-RM code uses BigInteger for all sequence numbers, making the code to compare and work with sequence numbers very cumbersome. Changing to long values would still allow for over 291,271 years of continuous operation at 1 million operations per second, so is probably sufficient.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (CXF-3308) WS-RM change to use long instead of BigInteger for sequence numbers

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3308.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4


Patch applied for 2.4.x branch.

Thanks!

> WS-RM change to use long instead of BigInteger for sequence numbers
> -------------------------------------------------------------------
>
>                 Key: CXF-3308
>                 URL: https://issues.apache.org/jira/browse/CXF-3308
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>            Reporter: Dennis Sosnoski
>            Assignee: Daniel Kulp
>             Fix For: 2.4
>
>         Attachments: distribution-long.diff, final-long.diff
>
>
> The current WS-RM code uses BigInteger for all sequence numbers, making the code to compare and work with sequence numbers very cumbersome. Changing to long values would still allow for over 291,271 years of continuous operation at 1 million operations per second, so is probably sufficient.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CXF-3308) WS-RM change to use long instead of BigInteger for sequence numbers

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski updated CXF-3308:
---------------------------------

    Attachment: distribution-long.diff

Separate patch for distribution folder (MessageLossSimulator.java).

> WS-RM change to use long instead of BigInteger for sequence numbers
> -------------------------------------------------------------------
>
>                 Key: CXF-3308
>                 URL: https://issues.apache.org/jira/browse/CXF-3308
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>            Reporter: Dennis Sosnoski
>         Attachments: distribution-long.diff, final-long.diff
>
>
> The current WS-RM code uses BigInteger for all sequence numbers, making the code to compare and work with sequence numbers very cumbersome. Changing to long values would still allow for over 291,271 years of continuous operation at 1 million operations per second, so is probably sufficient.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira