You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/01 21:28:29 UTC

git commit: updated refs/heads/master to c730bc3

Repository: cloudstack
Updated Branches:
  refs/heads/master 885431864 -> c730bc349


server: Add event bus bean as commented xml in META-INF core

This adds a spring bean xml to have EventBus for ACS, but the bean is commented
so the event bus service won't start by default. I'm adding this for any developer
who may want to hack on events and may use it just by uncommenting it and fixing
options.

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c730bc34
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c730bc34
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c730bc34

Branch: refs/heads/master
Commit: c730bc3491f8b684c5ae51e0bff54cf7577cc246
Parents: 8854318
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Mon Sep 1 21:14:13 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Sep 1 21:26:43 2014 +0200

----------------------------------------------------------------------
 .../core/spring-event-bus-context.xml           | 38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c730bc34/server/resources/META-INF/cloudstack/core/spring-event-bus-context.xml
----------------------------------------------------------------------
diff --git a/server/resources/META-INF/cloudstack/core/spring-event-bus-context.xml b/server/resources/META-INF/cloudstack/core/spring-event-bus-context.xml
new file mode 100644
index 0000000..3e1a8ed
--- /dev/null
+++ b/server/resources/META-INF/cloudstack/core/spring-event-bus-context.xml
@@ -0,0 +1,38 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<!--
+<beans xmlns="http://www.springframework.org/schema/beans"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:context="http://www.springframework.org/schema/context"
+xmlns:aop="http://www.springframework.org/schema/aop"
+xsi:schemaLocation="http://www.springframework.org/schema/beans
+http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
+http://www.springframework.org/schema/context
+http://www.springframework.org/schema/context/spring-context-3.0.xsd">
+   <bean id="eventNotificationBus" class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
+      <property name="name" value="eventNotificationBus"/>
+      <property name="server" value="127.0.0.1"/>
+      <property name="port" value="5672"/>
+      <property name="username" value="guest"/>
+      <property name="password" value="guest"/>
+      <property name="exchange" value="cloudstack-events"/>
+   </bean>
+</beans>
+-->