Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 87236 invoked from network); 1 Feb 2008 06:43:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 06:43:23 -0000 Received: (qmail 89890 invoked by uid 500); 1 Feb 2008 06:43:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 89868 invoked by uid 500); 1 Feb 2008 06:43:14 -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 89859 invoked by uid 99); 1 Feb 2008 06:43:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 22:43:14 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajdavies@gmail.com designates 209.85.132.245 as permitted sender) Received: from [209.85.132.245] (HELO an-out-0708.google.com) (209.85.132.245) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 06:42:43 +0000 Received: by an-out-0708.google.com with SMTP id b8so246181ana.65 for ; Thu, 31 Jan 2008 22:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=GvUkuGD1jDIWRnegIr4SQCkWFQGpTK+YXw/MUFgICbU=; b=rz4p23LFr5dur2LHDTBfNeubEk8w22n9Mu5uMYInOFGOq0W197LVsg/ezhju2+ls57pI/UMU7hscWi/TT+ktsrioV0ShbGTLyGA9XJz9KDQMtBtPB+Muizfy1gnn8FmuK93tzgclm1JHxUaGJpKeoxXsG/7+xlTSFKKvSdfcZTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=lRnsz8PTR96W2j1+QQfHHy5TOBhbIx4s97Amu+Z0vZ9EZlKzOttsiALosLaeq1AV2xTMbiohMGBGISHRdjY2hdjhtLlmrxIcREgZVR1rLflQNMdLdPP7uC8yAQFHxmexFchJTKGH2fNDkTe9sUMMMAZ8Mob7T+TBeR8fW0/REHU= Received: by 10.100.107.7 with SMTP id f7mr6575825anc.35.1201848170150; Thu, 31 Jan 2008 22:42:50 -0800 (PST) Received: from ?192.168.1.244? ( [86.134.103.250]) by mx.google.com with ESMTPS id k9sm2605863nfh.36.2008.01.31.22.42.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Jan 2008 22:42:48 -0800 (PST) Message-Id: <2E8DC115-71D5-4335-99B8-816487212DF5@gmail.com> From: Rob Davies To: users@activemq.apache.org In-Reply-To: <15220954.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Activemq integration Date: Fri, 1 Feb 2008 06:42:04 +0000 References: <15181145.post@talk.nabble.com> <15220954.post@talk.nabble.com> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 1, 2008, at 5:20 AM, activebud wrote: > > Marco Buss thanks for the reply , yes messages are persistence and i > can > verify it with activemq admin .but activemq server defaults display as > persistance false , i could not find nay place to make the server > defaults > to pesistance true in activemq.xml file. > > it display as follows > > Configures the broker with 2 transport connectors and jmx enabled > Example: Main broker:(tcp://localhost:61616, > network:tcp://localhost:500 > 0)?persistent=false > Configures the broker with 1 transport connector, and 1 > network > conn > ector and persistence disabled > > > is it persistent=false correct ..? > > > activebud wrote: >> >> Hi All, >> I am using activemq 5 , mysql 5.0.37 and >> mysql-connector-java-3.1.12-bin.jar >> >> my activemq.xml as follows >> >> >> > xmlns="http://www.springframework.org/schema/beans" >> xmlns:amq="http://activemq.org/config/1.0" >> 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.org/config/1.0 >> http://activemq.apache.org/schema/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"> >> >> >> >> >> >> >> > memoryLimit="1mb"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > discoveryUri="multicast://default"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > xmlns="http://activemq.apache.org/camel/schema/spring"> >> >> >> org.foo.bar >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true" /> >> > resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true" /> >> >> >> >> >> >> >> > destroy-method="close"> >> >> > value="jdbc:mysql://localhost/activemq?relaxAutoCommit=true"/> >> >> >> >> >> >> >> and >> >> activemq -help display as follows >> URI: >> >> XBean based broker configuration: >> >> Example: Main xbean:file:activemq.xml >> Loads the xbean configuration file from the current >> working >> director >> y >> Example: Main xbean:activemq.xml >> Loads the xbean configuration file from the classpath >> >> URI Parameter based broker configuration: >> >> Example: Main broker:(tcp://localhost:61616, >> tcp://localhost:5000)?useJm >> x=true >> Configures the broker with 2 transport connectors and jmx >> enabled >> Example: Main broker:(tcp://localhost:61616, >> network:tcp://localhost:500 >> 0)?persistent=false >> Configures the broker with 1 transport connector, and 1 >> network connector and persistence disabled >> >> when i start the activemq with above configurations it has created >> the >> data base tables . but it didn't insert any records to tables.any >> thing >> wrong with the configurations.I can see meeages are places in the >> queue >> when i run the producer and it consumes the messages when i run the >> consumer.(monitored with the activemq admin). >> >> I tried with the examples provided with the activemq 5. >> >> Thanks, >> activebud >> > > -- > View this message in context: http://www.nabble.com/Activemq-integration-tp15181145s2354p15220954.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > With persistence=false, the memory store is used - set it true (the default) for messages to appear in your configured message store cheers, Rob http://open.iona.com/ -Enterprise Open Integration http://rajdavies.blogspot.com/