From users-return-32934-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Dec 13 15:11:48 2012 Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F6A7DBD0 for ; Thu, 13 Dec 2012 15:11:48 +0000 (UTC) Received: (qmail 4344 invoked by uid 500); 13 Dec 2012 15:11:47 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 4042 invoked by uid 500); 13 Dec 2012 15:11:46 -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 3326 invoked by uid 99); 13 Dec 2012 15:11:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 15:11:44 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 15:11:38 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TjARQ-0007zp-HM for users@activemq.apache.org; Thu, 13 Dec 2012 07:11:16 -0800 Date: Thu, 13 Dec 2012 07:11:16 -0800 (PST) From: EveX To: users@activemq.apache.org Message-ID: <1355411476448-4660607.post@n4.nabble.com> Subject: Changing database programatically MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello. First, I'm a beginner with ActiveMQ. I have a AMQ broker embedded in a tomcat server. I would like to modify some parameters in it, but it seems the %ACTIVEMQ_HOME%\conf\activemq.xml is not readed... I tried to modify the memory usage limit from 64mb to 512mb, and it didn't worked. I finally modified it programatically in Java: And it works now. I would like to do the same to use SQL server but I only found by modifying activemq.xml. (I tried it but it didn't worked). Is it possible to set it in java? -- View this message in context: http://activemq.2283324.n4.nabble.com/Changing-database-programatically-tp4660607.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.