You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/10/26 02:46:37 UTC
[incubator-eventmesh] branch rabbitmq-connector updated: Add rabbitmq ConnectorResourceService
This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch rabbitmq-connector
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/rabbitmq-connector by this push:
new acd8d557 Add rabbitmq ConnectorResourceService
new b1c93100 Merge pull request #1859 from mroccyen/rabbitmq-connector-source
acd8d557 is described below
commit acd8d5571427763f1bc0969b684a164d4dd99510
Author: mroccyen <qi...@126.com>
AuthorDate: Tue Oct 25 22:23:26 2022 +0800
Add rabbitmq ConnectorResourceService
---
.../RabbitmqConnectorResourceService.java | 32 ++++++++++++++++++++++
eventmesh-runtime/build.gradle | 1 +
2 files changed, 33 insertions(+)
diff --git a/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/main/java/org/apache/eventmesh/connector/rabbitmq/connector/RabbitmqConnectorResourceService.java b/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/main/java/org/apache/eventmesh/connector/rabbitmq/connector/RabbitmqConnectorResourceService.java
new file mode 100644
index 00000000..2e16e613
--- /dev/null
+++ b/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/main/java/org/apache/eventmesh/connector/rabbitmq/connector/RabbitmqConnectorResourceService.java
@@ -0,0 +1,32 @@
+/*
+ * 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.
+ */
+
+package org.apache.eventmesh.connector.rabbitmq.connector;
+
+import org.apache.eventmesh.api.connector.ConnectorResourceService;
+
+public class RabbitmqConnectorResourceService implements ConnectorResourceService {
+ @Override
+ public void init() throws Exception {
+
+ }
+
+ @Override
+ public void release() throws Exception {
+
+ }
+}
diff --git a/eventmesh-runtime/build.gradle b/eventmesh-runtime/build.gradle
index b3a3b98d..12ad8b95 100644
--- a/eventmesh-runtime/build.gradle
+++ b/eventmesh-runtime/build.gradle
@@ -35,6 +35,7 @@ dependencies {
implementation project(":eventmesh-connector-plugin:eventmesh-connector-api")
implementation project(":eventmesh-connector-plugin:eventmesh-connector-standalone")
implementation project(":eventmesh-connector-plugin:eventmesh-connector-kafka")
+ implementation project(":eventmesh-connector-plugin:eventmesh-connector-rabbitmq")
implementation project(":eventmesh-security-plugin:eventmesh-security-api")
implementation project(":eventmesh-security-plugin:eventmesh-security-acl")
implementation project(":eventmesh-security-plugin:eventmesh-security-auth-http-basic")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org