You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/01/29 12:04:32 UTC
[jira] Commented: (AMQ-2587) Messages born expired
[ https://issues.apache.org/activemq/browse/AMQ-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57243#action_57243 ]
Gary Tully commented on AMQ-2587:
---------------------------------
have a look at the http://activemq.apache.org/timestampplugin.html
> Messages born expired
> ---------------------
>
> Key: AMQ-2587
> URL: https://issues.apache.org/activemq/browse/AMQ-2587
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, JMS client
> Affects Versions: 5.3.0
> Environment: Windows XP, Sun Java 1.6u18
> Reporter: Nacho Vargas
>
> Under some circumstances, messages are born already expired. To reproduce it, you need two computers, a "server" and a "client".
> 1. Set the current time in the client as appropiate in your time zone, say it is 11:00am.
> 2. Set the current time in the server as a few minutes after the real current time, say 11:10am.
> 3. Run an ActiveMQ broker in the server.
> 4. Run an ActiveMQ producer in the client.
> 5. Send a message from the producer with a short time to live, say 5 seconds.
> 6. The message is inmediately marked as "expired" and it is not delivered to consumer(s).
> I have been using ActiveMQ 4.1.1 for a couple of years and this has never been an issue. I have recently moved to ActiveMQ 5.3.0 and I have found this issue.
> A messaging system should *NOT* assume that clocks in every computer in the network are synchronized.
> Thanks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.