activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin C." <>
Subject Re: message clears from db if application or activemq restarts..
Date Tue, 03 May 2011 14:28:15 GMT

you broker's persistence settings are only used if you send your
messages as persistent and not as non-persistent. See
for persistence settings. The JMS default is persistent, but I don't
know how you configured your framework for sending.

Best regards,

On Tue, May 3, 2011 at 2:43 PM, anilkapoor <> wrote:
> Hey martin
> as i shown my config file, i am using persistency using
> jdbcpersistenceadapter in oracle.
> & only undelivered messages i can see in the activemq_msgs table.
> for making messages undeliver i give a wrong route address which does not
> exist, so i can see that message in db. until now i think it is ok.
> but when my junit finishes, after that until context gets stopped i can see
> that message in db.
> after that it clears from there.
> or if i restart broker then also it get clears.
> what i want to do is whenever in my application any message is undeliver it
> should go in db.
> after that if broker is down or my application restarts broker should get
> that messages from db & should redeliver them.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message