6 Replies Latest reply on Apr 16, 2013 11:16 AM by Andy Taylor

    Difference between HornetQ Persistance and Durable Subscription (in case of Topic)

    ajinkya bambal Newbie

      I am using topic to store messages.

       

      In Case of Durable subscribers if subscriber is down then the JMS server will still collect messages on behalf of the subscriber. When the subscriber re-connects to the JMS server, it will receive all messages sent to the topic since last time it was.

       

      In case of HornetQ Persistence , if consumer is not available then message is been stored in HornetQ's journoul & when consumer is up then message gets delivered to  consumer .

       

      So my question is,

       

      If I want Subscriber or Consumer should definitely consume messages then do I need to create subscriber as durable or HornetQ Persistance property is sufficient enough ?(Please Corect me if am wrong)