activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Changing database programatically
Date Thu, 13 Dec 2012 17:08:07 GMT
have a peek at
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCStoreBrokerTest.java?view=markup

there are loads of programatic examples in the tests.

Also, to understand how an embedded broker can be started with
xml configuration  have a read of:

http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html



On 13 December 2012 15:11, EveX <calegan@orange.fr> wrote:

> 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.
>



-- 
http://redhat.com
http://blog.garytully.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message