activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pzuppelli <pedro.zuppe...@hotmail.com>
Subject Re: Upgrade from 5.4.x
Date Tue, 03 Sep 2013 19:26:35 GMT
My config is the following 


<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"
  xmlns:osgi="http://www.springframework.org/schema/osgi"
  xsi:schemaLocation="
    http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd
    http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd">

  <import resource="test-context.xml"/>

  <broker brokerName="${HOSTNAME}"
          useJmx="true"
          tmpDataDirectory="${brokerTempDataLocation}"
          xmlns="http://activemq.apache.org/schema/core"
          >

      <networkConnectors>
          
          <networkConnector
                  name="testNetwork"
                  userName="internal"
                  password="${password.internal}"
                  decreaseNetworkConsumerPriority="true"
                  uri="${networkDiscoveryUri}" />
      </networkConnectors>

      <managementContext>
          <managementContext connectorPort="${jmxPort}"/>
      </managementContext>

      <persistenceAdapter>
          <kahaDB directory="${kahaPersistenceLocation}"
enableJournalDiskSyncs="false" />
      </persistenceAdapter>

      <destinationPolicy>
          <policyMap>
              <policyEntries>
                  <policyEntry queue=">" producerFlowControl="false">
                      <deadLetterStrategy>
                          <individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true" />
                      </deadLetterStrategy>
                  </policyEntry>
              </policyEntries>
          </policyMap>
      </destinationPolicy>

      <sslContext>
          <sslContext keyStore="${brokerKeyStore}"
keyStorePassword="${brokerKeyStorePassword}"
                      trustStore="${brokerTrustStore}"
trustStorePassword="${brokerTrustStorePassword}"  />
      </sslContext>

      <destinations>
          <queue physicalName="test.queue1" />

          <queue physicalName="test.queue2" />
      </destinations>

      <transportConnectors>          
          <transportConnector name="ssl" uri="${sslNetworkConnector}"/>
          <transportConnector name="openwire"
uri="${localNetworkConnector}"/>
      </transportConnectors>

  </broker>
</beans>




--
View this message in context: http://activemq.2283324.n4.nabble.com/Upgrade-from-5-4-x-tp4671081p4671093.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message