On 6/14/07, Arif Mohd <[EMAIL PROTECTED]> wrote:
Yes i mean to say when they are acknowledged, iam using same clientid and
subscription name each time
1) i saw the table activemq_msgs, the acknowledged messages are not
there in this table for topic
but if i see from jconsole they are there still in memory
Thats an effect of the journal. Some background there
http://activemq.apache.org/persistence.html
but basically messages are writting to the database asynchronously at
the checkpoint of the journal. So for some time after sending a
message you won't see them in the JDBC database (but they will be on
disk in the journal).
If you don't mind slowing things down by a factor of 10-20x, you can
disable the journal so that things go straight to the database.
2) there is only one record in activemq_acks table for the topic and the
value for the last_acked_id value is changing, is this its behaviour?
Yes
3) Can you please tell me what is the difference between columns
activemq_msgs.id and activemq_msgs.msgid_prod and activemq_msgs.msgid_seq
the producer ID is the ID of the person sending the message; the
sequence number is generated by the producer.
--
James
-------
http://macstrac.blogspot.com/