[
https://issues.apache.org/activemq/browse/AMQ-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Bethke updated AMQ-1680:
--------------------------------
Attachment: 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
> Attachments: DateUtils.cs
>
> 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.