activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Bethke (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1680) Apache.NMS.ActiveMQ.Util.DateUtils has incorrect conversion code for .NET to Java timestamps and vice versa
Date Tue, 22 Apr 2008 21:53:43 GMT

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

Brandon Bethke updated AMQ-1680:
--------------------------------

    Attachment:     (was: DateUtils.cs)

> Apache.NMS.ActiveMQ.Util.DateUtils has incorrect conversion code for .NET to Java timestamps
and vice versa
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1680
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1680
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>         Environment: .NET 3.5 - Java 1.6 - Windows Vista
>            Reporter: Brandon Bethke
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> The DateUtils class does not correctly convert the ticks of a .NET DateTime to a java
Date 'ticks' and vice versa. Sorry I dont' have commit access so I attached the unoptimized
fix. See the attached file for the fix.
> This issue is causing the JMSTimestamp header to get corrupted when a .NET client is
inserting or retrieving a message into ActiveMQ

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


Mime
View raw message