RE: How can i reduce openjms.db files size

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <000401c5516f$92755570$877efddc@xerces>
OpenJMS won't store NON_PERSISTENT messages in the database.
It will store administered destinations (any destination listed in
openjms.xml,
or created via the admin API) and durable topic subscribers.
 
 
 From: qiang zhou



Hello:
 
   My JMS send message code as this:
     TopicSession session = connection.createTopicSession(
                    false, Session.AUTO_ACKNOWLEDGE);
     topic = (Topic)context.lookup(topicName);
    TopicPublisher publisher = session.createPublisher(topic);
     publisher.publish(topic,message,DeliveryMode.NON_PERSISTENT,3,1000);
   
   openJMS  need write this message in its DB? or only contain in memory
cache. When the message is overtiem ,then delete for ever.
   If i setting the timeToLive ==0, openJMS would store it forever?
 
 
Thanks !!
 
qiang.zhou
Tim Anderson <[email protected]> wrote:

No idea. I don't use openjms.db and don't recommend anyone 
else does either. Support for it has been dropped in 0.7.7.

In 0.7.7, the database shipped with OpenJMS is slated to be
Derby. You could replace your JDBM database with Derby, or
HSQLDB.

-Tim

> -----Original Message-----
> From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf 
> Of qiang zhou
> Sent: Tuesday, 3 May 2005 4:19 PM
> To: [email protected]
> Subject: [openjms-user] How can i reduce openjms.db files size
> 
> 
> Hi:
> In my OpenJMS0.7.6 env, i alway send the
> NO_PERSISENT message to spece message. In my image, if
> the this topic's subscriber not recieve this
> message,then this message will be delete from OpenJMS
> ser ver. And we can't find out in any where. 
> It's right? why my openjms.db fat and fat?
> 




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.