|
Page Edited :
qpid :
Configure the Virtual Hosts via virtualhosts.xml
Configure the Virtual Hosts via virtualhosts.xml has been edited by Marnie McCormack (Apr 06, 2007). Content:
<virtualhosts>
<!-- Sets the default virtual host for connections which do not specify a vh -->
<default>test</default>
<!-- Define a virtual host and all it's config -->
<virtualhost>
<name>localhost</name>
<localhost>
<!-- Define the types of additional AMQP exchange available for this vh -->
<!-- Always get amq.direct (for queues) and amq.topic (for topics) by default -->
<exchanges>
<!-- Example of declaring an additional exchanges type for developer use only -->
<exchange>
<type>direct</type>
<name>test.direct</name>
<durable>true</durable>
</exchange>
</exchanges>
<!-- Define the set of queues to be created at broker startup -->
<queues>
<!-- The properties configured here will be applied as defaults to all -->
<!-- queues subsequently defined unless explicitly overridden -->
<exchange>amq.direct</exchange>
<!-- Set threshold values for queue monitor alerting to log -->
<maximumQueueDepth>4235264</maximumQueueDepth> <!-- 4Mb -->
<maximumMessageSize>2117632</maximumMessageSize> <!-- 2Mb -->
<maximumMessageAge>600000</maximumMessageAge> <!-- 10 mins -->
<!-- Define a queue with all default settings -->
<queue>
<name>ping</name>
</queue>
<!-- Example definitions of queues with overriden settings -->
<queue>
<name>test-queue</name>
<test-queue>
<exchange>test.direct</exchange>
<durable>true</durable>
</test-queue>
</queue>
<queue>
<name>test-ping</name>
<test-ping>
<exchange>test.direct</exchange>
</test-ping>
</queue>
</queues>
</localhost>
</virtualhost>
</virtualhosts>
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
