You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by anyz111 <an...@gmail.com> on 2011/04/06 14:47:59 UTC

Configuring broker directory

I am using Spring 3 and AMQ 5.3.0 version and trying to configure persistent
message store. i.e. AMQ default message store or Kaha db store as follow:

     
		     
			    
		   
		         
			                 
		
	 


	
    
        
    

My Problem is it get two folders created for store first is activemq-data in
tomcat "bin" folder while other activemq-data2 under tomcat root.  Why the
default data folder "activemq-data"is get craeted when i override it in
configuration above.


--
View this message in context: http://activemq.2283324.n4.nabble.com/Configuring-broker-directory-tp3430685p3430685.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Configuring broker directory

Posted by Dejan Bosanac <de...@nighttale.net>.
You need to set "dataDirectory" property on the <broker/> tag as well.


Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net

Connect at CamelOne <http://camelone.com/> May 24-26

The Open Source Integration Conference



On Wed, Apr 6, 2011 at 2:47 PM, anyz111 <an...@gmail.com> wrote:

> I am using Spring 3 and AMQ 5.3.0 version and trying to configure
> persistent
> message store. i.e. AMQ default message store or Kaha db store as follow:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> My Problem is it get two folders created for store first is activemq-data
> in
> tomcat "bin" folder while other activemq-data2 under tomcat root.  Why the
> default data folder "activemq-data"is get craeted when i override it in
> configuration above.
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Configuring-broker-directory-tp3430685p3430685.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>