Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 69776 invoked from network); 29 Jul 2008 04:31:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2008 04:31:10 -0000 Received: (qmail 74926 invoked by uid 500); 29 Jul 2008 04:31:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74906 invoked by uid 500); 29 Jul 2008 04:31:08 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 74895 invoked by uid 99); 29 Jul 2008 04:31:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 21:31:08 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of replyramdas@gmail.com designates 209.85.128.188 as permitted sender) Received: from [209.85.128.188] (HELO fk-out-0910.google.com) (209.85.128.188) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 04:30:11 +0000 Received: by fk-out-0910.google.com with SMTP id z22so3608478fkz.6 for ; Mon, 28 Jul 2008 21:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=FdDw4A5ufC8BO4rUoM4zGUE+WVTGXBlOcqsqFiyzBCg=; b=iOKzRxQwU+gM0hvRVDt64btG1v1GHiD1ux3+1neC7yLWlpfFlcWvZH3xJW9w01olnr 9Blb4t4bHQRNCZ2eJdlBILajL+20gMZ3vzGfexPY3mCVfVm5vS+4d0jk3uVrEJ8INBdM IFUYmzjxzgmYAsjTBY0ZYRufxh35NVSrdac8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=cVVq3pi2BTj8Q+GPyClCDFK0KKl+VRHtHcJgfTz4VHjCV0JxIDarCZ8GK8DRCfsEOP bW5fC9HrYFTsW/bOOhLkg9vvQBtjy1y7gsst7fgn++tkQdXCoQZngBK979iY2Vn1l300 P13znM0UyensHHRhIwolXbdIeWIl5Qcw9WsWo= Received: by 10.187.194.1 with SMTP id w1mr110689fap.41.1217305818517; Mon, 28 Jul 2008 21:30:18 -0700 (PDT) Received: by 10.187.162.20 with HTTP; Mon, 28 Jul 2008 21:30:18 -0700 (PDT) Message-ID: <634f15930807282130q44842531x2a5d89b9387a016d@mail.gmail.com> Date: Tue, 29 Jul 2008 10:00:18 +0530 From: "Ramdas Sawant" To: users@activemq.apache.org Subject: Re: AMQ Message Store setting In-Reply-To: <634f15930807280431u861c20p4192f4b2d09fdf4b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7523_9823825.1217305818507" References: <634f15930807272320v78ad8ec2r48f11262611f940a@mail.gmail.com> <634f15930807272335k3e4d312ej5146178e6e748b74@mail.gmail.com> <634f15930807280429i6d57ee39sc554293b6becb539@mail.gmail.com> <634f15930807280431u861c20p4192f4b2d09fdf4b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7523_9823825.1217305818507 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Guys, ant thoughts on this mail thread ??? I am really stuck and need some help here .... Waiting for inputs... Thanks in advance On 7/28/08, Ramdas Sawant wrote: > > What does signify ??? does the name > attribute should be the name of the Topic ??? Not clear on that... Thanks > > On 7/28/08, Ramdas Sawant wrote: >> >> Hi Rob, >> I tried using the 5.2 snapshot, but still facing the same >> issue. Below is my activemq.xml >> /////////////////////////////////// >> >> > xmlns="http://www.springframework.org/schema/beans" >> xmlns:amq="http://activemq.apache.org/schema/core" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd >> http://activemq.apache.org/schema/core >> http://activemq.apache.org/schema/core/activemq-core.xsd >> http://activemq.apache.org/camel/schema/spring >> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd"> >> >> > class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/> >> >> > brokerName="localhost" dataDirectory="${activemq.base}/data"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > uri="multicast://default"/> >> >> >> >> > directory="${activemq.base}/data" maxFileLength="2 mb" >> maxReferenceFileLength="1mb"/> >> >> >> >> > keyStorePassword="password" >> trustStore="file:${activemq.base}/conf/broker.ts" >> trustStorePassword="password"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > uri="tcp://localhost:61616" discoveryUri="multicast://default"/> >> >> > uri="stomp://localhost:61613"/> >> >> >> >> >> >> >> >> org.foo.bar >> >> >> >> >> >> >> >> >> >> >> >> >> >> > resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true"/> >> > resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true"/> >> > resourceBase="${activemq.base}/webapps/fileserver" logUrlOnStart="true"/> >> >> >> >> >> /////////////////////////////////////////////////////// >> >> I tried setting both "maxFileLength" and "> still facing the same issue. My topic is accepting more messages and the >> broker is creating more data files. It is creating datafiles of the size >> specified in the "maxFileLength" attribute. Please help me out with issue. >> Let me know if you neeed any more clarification. Thanks in advance. >> >> regards >> Ramdas >> >> On 7/28/08, Ramdas Sawant wrote: >>> >>> Thanks a lot Rob, will get back to you after testing, in case i need any >>> help. Thanks >>> >>> regards >>> Ramdas >>> >>> >>> On 7/28/08, Rob Davies wrote: >>>> >>>> >>>> On 28 Jul 2008, at 07:20, Ramdas Sawant wrote: >>>> >>>> Hi all, >>>>> I am exploring AMQ Message Store of ActiveMQ. I need to know >>>>> can >>>>> i limit the storage size of message store. I mean my topic should not >>>>> accept >>>>> messages if a certain size of stored messages is reached on disk. How >>>>> can i >>>>> configure this ? >>>>> The attribute maxFileLength of tag "amqPersistenceAdapter" >>>>> only >>>>> limits the size of one file. I am getting multiple files of the size >>>>> specified by maxFileLength attribute. How can i limit this continuous >>>>> file >>>>> generation. Let me know if the question is not that clear, or need any >>>>> more >>>>> explaination. I am really stuck here... Thanks in advance.... >>>>> >>>>> >>>>> regards >>>>> Ramdas >>>>> >>>>> -- >>>>> If you think, "you can", you can >>>>> If you think, "you can't", you are right >>>>> >>>> >>>> You can set the limit using store limit in the ActiveMQ configuration. >>>> There was a bug in this that's been fixed in trunk - so use a 5.2 snapshot >>>> >>>> >>>> cheers, >>>> >>>> Rob >>>> >>>> http://open.iona.com/products/enterprise-activemq >>>> http://rajdavies.blogspot.com/ >>>> >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> If you think, "you can", you can >>> If you think, "you can't", you are right >>> >> >> >> >> -- >> If you think, "you can", you can >> If you think, "you can't", you are right >> > > > > -- > If you think, "you can", you can > If you think, "you can't", you are right > -- If you think, "you can", you can If you think, "you can't", you are right ------=_Part_7523_9823825.1217305818507--