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

Timothy Bish commented on AMQCPP-428:
-------------------------------------

Recommend that you add more test cases to the existing integration tests for 
expiration to reproduce what you are seeing.
                
> 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

Reply via email to