提交 c60ac522 编写于 作者: Y yukon

Add openmessaging module.

上级 45a64fd6
/*
* 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.rocketmq.example.openmessaging;
public class SimpleProducer {
public static void main(String[] args) {
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>rocketmq-all</artifactId>
<groupId>org.apache.rocketmq</groupId>
<version>4.1.0-incubating-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rocketmq-openmessaging</artifactId>
<dependencies>
<dependency>
<groupId>io.openmessaging</groupId>
<artifactId>messaging-user-level-api</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
/*
* 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 io.openmessaging.rocketmq;
import io.openmessaging.IterableConsumer;
import io.openmessaging.KeyValue;
import io.openmessaging.MessagingAccessPoint;
import io.openmessaging.Producer;
import io.openmessaging.PullConsumer;
import io.openmessaging.PushConsumer;
import io.openmessaging.ResourceManager;
import io.openmessaging.SequenceProducer;
import io.openmessaging.ServiceEndPoint;
import io.openmessaging.observer.Observer;
public class MessagingAccessPointImpl implements MessagingAccessPoint {
@Override
public Producer createProducer() {
return null;
}
@Override
public Producer createProducer(KeyValue properties) {
return null;
}
@Override
public SequenceProducer createSequenceProducer() {
return null;
}
@Override
public SequenceProducer createSequenceProducer(KeyValue properties) {
return null;
}
@Override
public PushConsumer createPushConsumer() {
return null;
}
@Override
public PushConsumer createPushConsumer(KeyValue properties) {
return null;
}
@Override
public PullConsumer createPullConsumer(String queueName) {
return null;
}
@Override
public PullConsumer createPullConsumer(String queueName, KeyValue properties) {
return null;
}
@Override
public IterableConsumer createIterableConsumer(String queueName) {
return null;
}
@Override
public IterableConsumer createIterableConsumer(String queueName, KeyValue properties) {
return null;
}
@Override
public ResourceManager createResourceManager() {
return null;
}
@Override
public ServiceEndPoint createServiceEndPoint() {
return null;
}
@Override
public ServiceEndPoint createServiceEndPoint(KeyValue properties) {
return null;
}
@Override
public void addObserver(Observer observer) {
}
@Override
public void deleteObserver(Observer observer) {
}
@Override
public void startup() {
//Ignore
}
@Override
public void shutdown() {
//Ignore
}
}
......@@ -180,6 +180,7 @@
<module>srvutil</module>
<module>test</module>
<module>distribution</module>
<module>openmessaging</module>
</modules>
<build>
......@@ -603,6 +604,11 @@
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>io.openmessaging</groupId>
<artifactId>messaging-user-level-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册