Hi James,
I read the article for persistence. But iam having still one doubt
1) if i use journal and JDBC together, once the message is moved to
DataBase(which means at check points it is moved from journal to DB) i
should not see that message in jconsole but iam still able to see that
message.
2) what i observed it TTL is 0 in DB(which means infinity), but still
once the message is moved to DB i shouldn't get it in jconsole(whether it
may be acknowledged or not)
James.Strachan wrote:
>
> 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/
>
>
--
View this message in context:
http://www.nabble.com/Messages-from-the-topic-are-not-being-deleted-once-they-are-consume-tf3913879s12049.html#a11116073
Sent from the ServiceMix - User mailing list archive at Nabble.com.