activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Pernas (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQCPP-428) setTimeToLive not working
Date Tue, 16 Oct 2012 11:45:04 GMT

    [ https://issues.apache.org/jira/browse/AMQCPP-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476939#comment-13476939
] 

Oscar Pernas edited comment on AMQCPP-428 at 10/16/12 11:44 AM:
----------------------------------------------------------------

Sorry for my later response and for the poor details that I gave you. Messages expires at
the correct time, only if these messages are persistent, if not, messages are never discarded.

                
      was (Author: opernas):
    Sorry for my later response and for the poor details that I give you. Messages expires
at the correct time, only if these messages are persistent, if not, messages are never discarded.

                  
> setTimeToLive not working
> -------------------------
>
>                 Key: AMQCPP-428
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-428
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl, Transports
>    Affects Versions: 3.4.4
>         Environment: Debian linux wheezy
>            Reporter: Oscar Pernas
>            Assignee: Timothy Bish
>              Labels: discarded, expired, message,, timeToLive,
>
> Making tests, method setTimeToLive of message is not working and messages are never discarded
by the broker. This can produce an out of memory in some situations.
> Example code:
> //sending message
> producer->send(	textMessage,
> 		getPersistent(),
> 		activeMessageToSend.getPriority(),
> 		30000);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message