You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "John Prillaman (JIRA)" <ji...@apache.org> on 2014/04/03 15:48:17 UTC

[jira] [Commented] (APLO-319) Don't auto delete Topics if it's holding retained messages

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

John Prillaman commented on APLO-319:
-------------------------------------

I am having this same issue using the STOMP protocol in version 1.7, that is adding the retain:true to the SEND frame does not create a retained topic. 
Also, when the auto_delete_after option is added to the configuration file the topic is no longer deleted , however the data is still not retained. This issue is not present in ActiveMQ when using the following policy in the configuration file. Is this available for Apollo?
<subscriptionRecoveryPolicy>
   <lastImageSubscriptionRecoveryPolicy/>
</subscriptionRecoveryPolicy>


> Don't auto delete Topics if it's holding retained messages
> ----------------------------------------------------------
>
>                 Key: APLO-319
>                 URL: https://issues.apache.org/jira/browse/APLO-319
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-mqtt
>            Reporter: Frank Wen
>            Assignee: Hiram Chirino
>             Fix For: 1.7
>
>
> I use apollo as my mqtt server, but it seems the retain flag doesn't work.
> I publish a message to a topic, the message is set retained true. Then I start the consumer, subscribe the topic, but no message received.
> I use fusesource mqtt-client and eclipse paho as client jar package, the same problem occurs.
> Another guy on stackoverflow have the same issue: http://stackoverflow.com/questions/15643726/messages-not-retained-in-apollo-server
> Is it a bug? or I miss some configuration?



--
This message was sent by Atlassian JIRA
(v6.2#6252)