activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KRISHNAS <krishna_see...@hotmail.com>
Subject Re: Dead letter queue not being created
Date Tue, 01 Jun 2010 18:39:20 GMT

Gary

5.4-SNAPSHOT has the same issue.  Looks like  addMessage method of
JDBCMessageStore class has changed in 5.3.1. The following code is added to
it, seems it is stopping to persist in the DB.

    public void addMessage(ConnectionContext context, Message message)
throws IOException {

        MessageId messageId = message.getMessageId();
        if (audit != null && audit.isDuplicate(message)) {
            if (LOG.isDebugEnabled()) {
                LOG.debug(destination.getPhysicalName()
                    + " ignoring duplicated (add) message, already stored: "
                    + messageId);
            }
            return;
        }
        
        long sequenceId = persistenceAdapter.getNextSequenceId();
        ....

Thanks for your support.
Krishna.
-- 
View this message in context: http://old.nabble.com/Dead-letter-queue-not-being-created-tp28576004p28745801.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message