You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jaskaran <ja...@gmail.com> on 2011/07/19 09:12:11 UTC

Activemq's Pure Master Slave (shared nothing) configuration problem

Its regarding Activemq's Pure Master Slave (shared nothing) configuration. 

I have made this configuration and noticed that transactions are replicated
from master to salve. 

BUT operations done from Admin Tool of master like deleting any message,
removing queue from master is not replicate in salve. 

Is there any miss in my activemq slave configuration:

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
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.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd"
default-autowire="no" default-dependency-check="none"
default-lazy-init="false" default-merge="false">
        <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
autowire="default" dependency-check="default" lazy-init="default">
                <property name="locations">
                       
<value>file:${activemq.base}/conf/credentials.properties</value>
                </property>
        </bean>
        <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="main-broker" dataDirectory="${activemq.base}/data"
destroyApplicationContextOnStop="true">
                <destinationInterceptors>
                        <mirroredQueue copyMessage="true" postfix=""
prefix="qmirror."/>
                </destinationInterceptors>
                <destinationPolicy>
                        <policyMap>
                                <policyEntries>
                                        <policyEntry topic="&gt;"
producerFlowControl="false">
                                                <pendingSubscriberPolicy>
                                                        <vmCursor/>
                                                </pendingSubscriberPolicy>
                                        </policyEntry>
                                        <policyEntry queue="&gt;"
producerFlowControl="false" memoryLimit="10kb">
                                        </policyEntry>
                                </policyEntries>
                        </policyMap>
                </destinationPolicy>
                <managementContext>
                        <managementContext createConnector="true"/>
                </managementContext>
                <persistenceAdapter>
                        <kahaDB directory="${activemq.base}/data/kahadb"
archiveDataLogs="false"/>
                </persistenceAdapter>
                <plugins>
                        
                        <loggingBrokerPlugin logAll="true"
logConnectionEvents="false"/>
                        <timeStampingBrokerPlugin
zeroExpirationOverride="1000" ttlCeiling="60000" futureOnly="true"/>
                        <traceBrokerPathPlugin/>
                </plugins>
                <transportConnectors>
                        <transportConnector name="openwire"
uri="tcp://0.0.0.0:61616"/>
                </transportConnectors>
        </broker>
        <import resource="jetty.xml"/>
</beans>

--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-s-Pure-Master-Slave-shared-nothing-configuration-problem-tp3677464p3677464.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.