You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cmoulliard <cm...@gmail.com> on 2010/05/27 12:52:29 UTC

KahaDBPersistenceAdapter (Master) - memoryPersistenceAdapter (Slave)

Hi,

I have created a bridge between two brokers (called master and slave) where
persistence is disabled but I see that :

KahaDBPersistenceAdapter is created by default on the master and 
memoryPersistenceAdapter on the slave

Is it a normal behavior ?

    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="master" persistent="false" dataDirectory="D:/Temp/data-master">
        
        <networkConnectors>
            <networkConnector uri="static://(tcp://localhost:61617)"
duplex="true">          
            </networkConnector>
        </networkConnectors>

   ...

Do we have to activated "persistence" on both brokers even if we don't
persist messages in this kind of topology (store and formard) ?

Kind regards,

Charles

-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/KahaDBPersistenceAdapter-%28Master%29---memoryPersistenceAdapter-%28Slave%29-tp28692346p28692346.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: KahaDBPersistenceAdapter (Master) - memoryPersistenceAdapter (Slave)

Posted by cmoulliard <cm...@gmail.com>.
Forget my question, there was an error in my config.


cmoulliard wrote:
> 
> Hi,
> 
> I have created a bridge between two brokers (called master and slave)
> where persistence is disabled but I see that :
> 
> KahaDBPersistenceAdapter is created by default on the master and 
> memoryPersistenceAdapter on the slave
> 
> Is it a normal behavior ?
> 
>     <broker xmlns="http://activemq.apache.org/schema/core"
> brokerName="master" persistent="false"
> dataDirectory="D:/Temp/data-master">
>         
>         <networkConnectors>
>             <networkConnector uri="static://(tcp://localhost:61617)"
> duplex="true">          
>             </networkConnector>
>         </networkConnectors>
> 
>    ...
> 
> Do we have to activated "persistence" on both brokers even if we don't
> persist messages in this kind of topology (store and formard) ?
> 
> Kind regards,
> 
> Charles
> 


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/KahaDBPersistenceAdapter-%28Master%29---memoryPersistenceAdapter-%28Slave%29-tp28692346p28730710.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.