You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by MqUser <pm...@sonic.net> on 2007/01/11 22:45:54 UTC

How persistent is a message - newbie


Ran producer with persistent messages
Ran producer again expecting total messages to be 20 exiting program

Made the maximum messages on consumer to 1000
Ran it but consumer only got 10 messages

Was expecting 20 messages because I ran producer twice

With this configuration I lost 10 messages. How do I make them persist?
-- 
View this message in context: http://www.nabble.com/How-persistent-is-a-message---newbie-tf2961902.html#a8286919
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How persistent is a message - newbie

Posted by Marlon Santos <ms...@exist.com>.
Hi,

afaik, ant just builds the  java files and runs it so using eclipse is just
fine. Are you using the consumertool / producertool included within the
distribution? 

Regards,
Marlon




MqUser wrote:
> 
> 
> Latest version of activeMQ on windows.
> Ran the batch file in the bin directory to start the server
> 
> I did not run ant to run consumer or producer, it may do something that is
> necessary.
> 
> I ran consumer in eclipse in another directory that contained the sources
> and linked to the libraries.
> 
> Does ant do something special?
> 
> 
> Marlon Santos wrote:
>> 
>> Hi,
>> 
>> what was your detailed config/setup... because I tried to reproduce this
>> scenario but it worked fine with me...
>> And what version of ActiveMQ did you use?
>> 
>> Regarding persistence, you can look 
>> http://activemq.org/site/persistence.html here. 
>> 
>> Regards,
>> Marlon
>> 
>> 
>> 
>> 
>> MqUser wrote:
>>> 
>>> 
>>> Ran producer with persistent messages
>>> Ran producer again expecting total messages to be 20 exiting program
>>> 
>>> Made the maximum messages on consumer to 1000
>>> Ran it but consumer only got 10 messages
>>> 
>>> Was expecting 20 messages because I ran producer twice
>>> 
>>> With this configuration I lost 10 messages. How do I make them persist?
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-persistent-is-a-message---newbie-tf2961902.html#a8367006
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How persistent is a message - newbie

Posted by MqUser <pm...@sonic.net>.

Latest version of activeMQ on windows.
Ran the batch file in the bin directory to start the server

I did not run ant to run consumer or producer, it may do something that is
necessary.

I ran consumer in eclipse in another directory that contained the sources
and linked to the libraries.

Does ant do something special?


Marlon Santos wrote:
> 
> Hi,
> 
> what was your detailed config/setup... because I tried to reproduce this
> scenario but it worked fine with me...
> And what version of ActiveMQ did you use?
> 
> Regarding persistence, you can look 
> http://activemq.org/site/persistence.html here. 
> 
> Regards,
> Marlon
> 
> 
> 
> 
> MqUser wrote:
>> 
>> 
>> Ran producer with persistent messages
>> Ran producer again expecting total messages to be 20 exiting program
>> 
>> Made the maximum messages on consumer to 1000
>> Ran it but consumer only got 10 messages
>> 
>> Was expecting 20 messages because I ran producer twice
>> 
>> With this configuration I lost 10 messages. How do I make them persist?
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-persistent-is-a-message---newbie-tf2961902.html#a8298356
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How persistent is a message - newbie

Posted by Marlon Santos <ms...@exist.com>.
Hi,

what was your detailed config/setup... because I tried to reproduce this
scenario but it worked fine with me...
And what version of ActiveMQ did you use?

Regarding persistence, you can look 
http://activemq.org/site/persistence.html here. 

Regards,
Marlon




MqUser wrote:
> 
> 
> Ran producer with persistent messages
> Ran producer again expecting total messages to be 20 exiting program
> 
> Made the maximum messages on consumer to 1000
> Ran it but consumer only got 10 messages
> 
> Was expecting 20 messages because I ran producer twice
> 
> With this configuration I lost 10 messages. How do I make them persist?
> 

-- 
View this message in context: http://www.nabble.com/How-persistent-is-a-message---newbie-tf2961902.html#a8292246
Sent from the ActiveMQ - User mailing list archive at Nabble.com.