Message scheduled via cron to a broker with persistence enabled, is only 
delivered once
---------------------------------------------------------------------------------------

                 Key: AMQ-3307
                 URL: https://issues.apache.org/jira/browse/AMQ-3307
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.5.0
            Reporter: Thomas Dudziak
            Priority: Critical


A message that is scheduled via a cron expression via a persistent producer, 
will only be sent once, and after that there are these warnings in the log:

ConcurrentQueueStoreAndDispatch 
org.apache.activemq.store.kahadb.MessageDatabase Duplicate message add attempt 
rejected. Destination: jobs, Message id: ID:nobby-35912-1304723825775-4:2:1:1:1

It doesn't seem to make a difference whether the message producer has deliver 
mode PERSISTENT or not.

The attached sample program should exhibit the problem.

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

Reply via email to