activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Pernas (JIRA)" <>
Subject [jira] [Commented] (AMQCPP-428) setTimeToLive not working
Date Fri, 28 Sep 2012 20:42:07 GMT


Oscar Pernas commented on AMQCPP-428:

Im using localhost for receiving and sending. I have a C++ durable Consumer disconnected.
If I start a Java producer application with time to live, messages are discarded by the broker
(new in 5.6) at the moment that it should, but with c++ producer, messages are never discarded
by the broker. 
> setTimeToLive not working
> -------------------------
>                 Key: AMQCPP-428
>                 URL:
>             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:

View raw message