activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrloud <jerry.smith...@gmail.com>
Subject Re: Large message failure over http transport
Date Thu, 29 Nov 2012 23:35:33 GMT
I'm stuck on http because of firewall/proxy issues that I have no control
over :(

broker config:

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

    <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
            <value>file:${activemq.base}/conf/credentials.properties</value>
        </property>      
    </bean>

    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.base}/data">
		<destinationInterceptors>
			<mirroredQueue copyMessage="true" postfix=".qmirror" prefix=""/>
			<virtualDestinationInterceptor>
				<virtualDestinations>
				  <compositeQueue name="Quote.quoteData" forwardOnly="false">
					<forwardTo>
					  <filteredDestination selector="QuoteTypeID = 6 AND RequestFrom =
'FromSubmitToGNS'" queue="Quote.gnsNatData"/>
					  <filteredDestination selector="QuoteTypeID = 7 AND RequestFrom =
'FromSubmitToGNS'" queue="Quote.gnsGovData"/>
					</forwardTo>
				  </compositeQueue>
				</virtualDestinations>
			</virtualDestinationInterceptor>
		</destinationInterceptors>
        
        <destinationPolicy>
            <policyMap>
              <policyEntries>
                <policyEntry topic=">" producerFlowControl="false"
memoryLimit="10mb">
                  <pendingSubscriberPolicy>
                    <vmCursor />
                  </pendingSubscriberPolicy>
                </policyEntry>
                <policyEntry queue=">" producerFlowControl="false"
queuePrefetch="1">
                  <pendingQueuePolicy>
                    <fileQueueCursor/>
                  </pendingQueuePolicy>
                </policyEntry>
              </policyEntries>
            </policyMap>
        </destinationPolicy> 

        <managementContext>
            <managementContext createConnector="true"/>
        </managementContext>

        <persistenceAdapter>
            <kahaDB directory="${activemq.base}/data/kahadb"/>
        </persistenceAdapter>
        
        <systemUsage>
            <systemUsage>
                <memoryUsage>
                    <memoryUsage limit="256 mb"/>
                </memoryUsage>
                <storeUsage>
                    <storeUsage limit="10 gb"/>
                </storeUsage>
                <tempUsage>
                    <tempUsage limit="10 gb"/>
                </tempUsage>
            </systemUsage>
        </systemUsage>
		  
        <transportConnectors>
			
            <transportConnector name="httpConn" uri="http://0.0.0.0:80"/>
			<transportConnector name="httpConnTest" uri="http://0.0.0.0:8081"/>
            <transportConnector name="tcpConn" 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/Large-message-failure-over-http-transport-tp4659891p4660003.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message