On 14/11/2007, jack <jackgray1983@gmail.com> wrote:
> Hi:
>
> I still have a question. When a message could be stored into database?
> I tried to setup some breakpoints to see whether the message to be stored
> into database,but
> no message to be stored.So I'm very puzzled,please tell me how should I
> do.Thank you very much!
For background see http://activemq.apache.org/persistence.html
If you enable pure JDBC (and not using the high performance journal)
then you can set a breakpoint on the JDBC code. Otherwise with the
journal persistence to JDBC only happens at checkpoint time (typically
minutes after the message is written to the journal) or not at all
with ActiveMQ DB
--
James
-------
http://macstrac.blogspot.com/
Open Source SOA
http://open.iona.com
|