diff options
Diffstat (limited to 'java/broker/etc')
| -rw-r--r-- | java/broker/etc/config.xml | 35 | ||||
| -rw-r--r-- | java/broker/etc/virtualhosts.xml | 12 |
2 files changed, 43 insertions, 4 deletions
diff --git a/java/broker/etc/config.xml b/java/broker/etc/config.xml index 61e0e55138..779a434332 100644 --- a/java/broker/etc/config.xml +++ b/java/broker/etc/config.xml @@ -79,6 +79,37 @@ </mechanisms> </sasl> </security> + <virtualhosts> + <virtualhost> + <name>localhost</name> + <localhost> + <store> + <!-- <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class> --> + <class>org.apache.qpid.server.store.MemoryMessageStore</class> + <environment-path>localhost-store</environment-path> + </store> + </localhost> + </virtualhost> + + <virtualhost> + <name>development</name> + <development> + <store> + <class>org.apache.qpid.server.store.MemoryMessageStore</class> + </store> + </development> + </virtualhost> + + <virtualhost> + <name>test</name> + <test> + <store> + <class>org.apache.qpid.server.store.MemoryMessageStore</class> + </store> + </test> + </virtualhost> + + </virtualhosts> <heartbeat> <delay>0</delay> <timeoutFactor>2.0</timeoutFactor> @@ -86,8 +117,6 @@ <queue> <auto_register>true</auto_register> </queue> - <store> - <class>org.apache.qpid.server.store.MemoryMessageStore</class> - </store> + <virtualhosts>${conf}/virtualhosts.xml</virtualhosts> </broker> diff --git a/java/broker/etc/virtualhosts.xml b/java/broker/etc/virtualhosts.xml index de6a8c0682..50cddb5661 100644 --- a/java/broker/etc/virtualhosts.xml +++ b/java/broker/etc/virtualhosts.xml @@ -21,7 +21,17 @@ --> <virtualhosts> <virtualhost> - <path>/development</path> + <path>localhost</path> + <bind>direct://amq.direct//queue</bind> + <bind>direct://amq.direct//ping</bind> + </virtualhost> + <virtualhost> + <path>development</path> + <bind>direct://amq.direct//queue</bind> + <bind>direct://amq.direct//ping</bind> + </virtualhost> + <virtualhost> + <path>test</path> <bind>direct://amq.direct//queue</bind> <bind>direct://amq.direct//ping</bind> </virtualhost> |
