Hi,

you broker's persistence settings are only used if you send your
messages as persistent and not as non-persistent. See
http://download.oracle.com/javaee/1.4/api/javax/jms/MessageProducer.html
for persistence settings. The JMS default is persistent, but I don't
know how you configured your framework for sending.

Best regards,
Martin

On Tue, May 3, 2011 at 2:43 PM, anilkapoor <er.anil.kap...@gmail.com> 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: 
> http://activemq.2283324.n4.nabble.com/message-clears-from-db-if-application-or-activemq-restarts-tp3491807p3492380.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to