You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by tabshift <be...@acoreus.de> on 2007/03/09 11:08:39 UTC

Newbie's Question

Hi all,

using ActiveMQ-4.2-Snapshot.

After starting the broker and posting a message to a queue I get
INFO  KahaStore                      - Kaha Store successfully deleted data
directory activemq-data/hatest1/tmp_storage

and my former filled queues are empty.
I set deleteAllMessagesOnStartup="false" because I want ActiveMQ to hold all
messages even after restarting it.

When the system is up and I push messages into my queues I can see in
jconsole that the messages come into my queues. 
But deleted data directory activemq-data/hatest1/tmp_storage makes me feel
like the messages ar only stored somewhere temporarily.

Where is my mistake?

TIA
-- 
View this message in context: http://www.nabble.com/Newbie%27s-Question-tf3374846s2354.html#a9391694
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: [Spam: 5.0] Newbie's Question

Posted by James Strachan <ja...@gmail.com>.
On 3/9/07, tabshift <be...@acoreus.de> wrote:
> Hi Rob,
>
> sorry, maybe a silly question, but I think my messages not to be
> "non-persistent".
> So what makes a messsage "persistent"?

The delivery mode specified on the MessageProducer. (They are
persistent by default).


> I am using a simple script that produces a number of text-messages.
>
> While testing an other JMS-System my messages stayed in that store until
> they were consumed.

They will be.

So the log output about temporary storage removal was for cases where
you use non-persistent mesaging. It doesn't affect persistent
messages.

-- 

James
-------
http://radio.weblogs.com/0112098/

Re: [Spam: 5.0] Newbie's Question

Posted by tabshift <be...@acoreus.de>.

Hi Rob,

sorry, maybe a silly question, but I think my messages not to be
"non-persistent".
So what makes a messsage "persistent"?
I am using a simple script that produces a number of text-messages.

While testing an other JMS-System my messages stayed in that store until
they were consumed.

TIA
th


rajdavies wrote:
> 
> there's tmp storage for non-persistent messages that have overflowed  
> the VM - even if that area is empty - its always cleared down on a re- 
> start - and that's what the message at start-up refers to
> 
> cheers,
> 
> Rob Davies
> http://rajdavies.blogspot.com/
> 
> 
> On 9 Mar 2007, at 10:08, tabshift wrote:
> 
>>
>> Hi all,
>>
>> using ActiveMQ-4.2-Snapshot.
>>
>> After starting the broker and posting a message to a queue I get
>> INFO  KahaStore                      - Kaha Store successfully  
>> deleted data
>> directory activemq-data/hatest1/tmp_storage
>>
>> and my former filled queues are empty.
>> I set deleteAllMessagesOnStartup="false" because I want ActiveMQ to  
>> hold all
>> messages even after restarting it.
>>
>> When the system is up and I push messages into my queues I can see in
>> jconsole that the messages come into my queues.
>> But deleted data directory activemq-data/hatest1/tmp_storage makes  
>> me feel
>> like the messages ar only stored somewhere temporarily.
>>
>> Where is my mistake?
>>
>> TIA
>> -- 
>> View this message in context: http://www.nabble.com/Newbie%27s- 
>> Question-tf3374846s2354.html#a9391694
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Newbie%27s-Question-tf3374846s2354.html#a9393271
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Newbie's Question

Posted by Rob Davies <ra...@gmail.com>.
there's tmp storage for non-persistent messages that have overflowed  
the VM - even if that area is empty - its always cleared down on a re- 
start - and that's what the message at start-up refers to

cheers,

Rob Davies
http://rajdavies.blogspot.com/


On 9 Mar 2007, at 10:08, tabshift wrote:

>
> Hi all,
>
> using ActiveMQ-4.2-Snapshot.
>
> After starting the broker and posting a message to a queue I get
> INFO  KahaStore                      - Kaha Store successfully  
> deleted data
> directory activemq-data/hatest1/tmp_storage
>
> and my former filled queues are empty.
> I set deleteAllMessagesOnStartup="false" because I want ActiveMQ to  
> hold all
> messages even after restarting it.
>
> When the system is up and I push messages into my queues I can see in
> jconsole that the messages come into my queues.
> But deleted data directory activemq-data/hatest1/tmp_storage makes  
> me feel
> like the messages ar only stored somewhere temporarily.
>
> Where is my mistake?
>
> TIA
> -- 
> View this message in context: http://www.nabble.com/Newbie%27s- 
> Question-tf3374846s2354.html#a9391694
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>