Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Apache RocketMQ
Rocketmq
提交
9c1dc747
R
Rocketmq
项目概览
Apache RocketMQ
/
Rocketmq
上一次同步 大约 3 年
通知
267
Star
16139
Fork
68
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
9c1dc747
编写于
4月 20, 2017
作者:
Y
yukon
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add oms mudle to build config and add some unsupported hints.
上级
28a6deac
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
14 addition
and
18 deletion
+14
-18
distribution/release-client.xml
distribution/release-client.xml
+1
-0
distribution/release.xml
distribution/release.xml
+1
-0
openmessaging/pom.xml
openmessaging/pom.xml
+0
-6
openmessaging/src/main/java/io/openmessaging/rocketmq/MessagingAccessPointImpl.java
...a/io/openmessaging/rocketmq/MessagingAccessPointImpl.java
+7
-7
openmessaging/src/main/java/io/openmessaging/rocketmq/config/ClientConfig.java
...n/java/io/openmessaging/rocketmq/config/ClientConfig.java
+1
-1
openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/LocalMessageCache.java
...io/openmessaging/rocketmq/consumer/LocalMessageCache.java
+1
-1
openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java
.../io/openmessaging/rocketmq/consumer/PullConsumerImpl.java
+1
-1
openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java
.../io/openmessaging/rocketmq/consumer/PushConsumerImpl.java
+1
-1
openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java
.../openmessaging/rocketmq/producer/AbstractOMSProducer.java
+1
-1
未找到文件。
distribution/release-client.xml
浏览文件 @
9c1dc747
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
<useAllReactorProjects>
true
</useAllReactorProjects>
<useAllReactorProjects>
true
</useAllReactorProjects>
<includes>
<includes>
<include>
org.apache.rocketmq:rocketmq-client
</include>
<include>
org.apache.rocketmq:rocketmq-client
</include>
<include>
org.apache.rocketmq:rocketmq-openmessaging
</include>
</includes>
</includes>
<binaries>
<binaries>
<outputDirectory>
./
</outputDirectory>
<outputDirectory>
./
</outputDirectory>
...
...
distribution/release.xml
浏览文件 @
9c1dc747
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
<include>
org.apache.rocketmq:rocketmq-namesrv
</include>
<include>
org.apache.rocketmq:rocketmq-namesrv
</include>
<include>
org.apache.rocketmq:rocketmq-filtersrv
</include>
<include>
org.apache.rocketmq:rocketmq-filtersrv
</include>
<include>
org.apache.rocketmq:rocketmq-example
</include>
<include>
org.apache.rocketmq:rocketmq-example
</include>
<include>
org.apache.rocketmq:rocketmq-openmessaging
</include>
</includes>
</includes>
<binaries>
<binaries>
<outputDirectory>
lib/
</outputDirectory>
<outputDirectory>
lib/
</outputDirectory>
...
...
openmessaging/pom.xml
浏览文件 @
9c1dc747
...
@@ -38,11 +38,5 @@
...
@@ -38,11 +38,5 @@
<groupId>
org.apache.rocketmq
</groupId>
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-client
</artifactId>
<artifactId>
rocketmq-client
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
javax.jms
</groupId>
<artifactId>
javax.jms-api
</artifactId>
<version>
2.0.1
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
openmessaging/src/main/java/io/openmessaging/rocketmq/MessagingAccessPointImpl.java
浏览文件 @
9c1dc747
...
@@ -87,37 +87,37 @@ public class MessagingAccessPointImpl implements MessagingAccessPoint {
...
@@ -87,37 +87,37 @@ public class MessagingAccessPointImpl implements MessagingAccessPoint {
@Override
@Override
public
IterableConsumer
createIterableConsumer
(
String
queueName
)
{
public
IterableConsumer
createIterableConsumer
(
String
queueName
)
{
throw
new
OMSNotSupportedException
(
"-1"
,
"IterableConsumer is not supported in
RocketMQ
"
);
throw
new
OMSNotSupportedException
(
"-1"
,
"IterableConsumer is not supported in
current version
"
);
}
}
@Override
@Override
public
IterableConsumer
createIterableConsumer
(
String
queueName
,
KeyValue
properties
)
{
public
IterableConsumer
createIterableConsumer
(
String
queueName
,
KeyValue
properties
)
{
throw
new
OMSNotSupportedException
(
"-1"
,
"IterableConsumer is not supported in
RocketMQ
"
);
throw
new
OMSNotSupportedException
(
"-1"
,
"IterableConsumer is not supported in
current version
"
);
}
}
@Override
@Override
public
ResourceManager
getResourceManager
()
{
public
ResourceManager
getResourceManager
()
{
return
null
;
throw
new
OMSNotSupportedException
(
"-1"
,
"ResourceManager is not supported in current version."
)
;
}
}
@Override
@Override
public
ServiceEndPoint
createServiceEndPoint
()
{
public
ServiceEndPoint
createServiceEndPoint
()
{
return
null
;
throw
new
OMSNotSupportedException
(
"-1"
,
"ServiceEndPoint is not supported in current version."
)
;
}
}
@Override
@Override
public
ServiceEndPoint
createServiceEndPoint
(
KeyValue
properties
)
{
public
ServiceEndPoint
createServiceEndPoint
(
KeyValue
properties
)
{
return
null
;
throw
new
OMSNotSupportedException
(
"-1"
,
"ServiceEndPoint is not supported in current version."
)
;
}
}
@Override
@Override
public
void
addObserver
(
Observer
observer
)
{
public
void
addObserver
(
Observer
observer
)
{
//Ignore
}
}
@Override
@Override
public
void
deleteObserver
(
Observer
observer
)
{
public
void
deleteObserver
(
Observer
observer
)
{
//Ignore
}
}
@Override
@Override
...
...
openmessaging/src/main/java/io/openmessaging/rocketmq/ClientConfig.java
→
openmessaging/src/main/java/io/openmessaging/rocketmq/
config/
ClientConfig.java
浏览文件 @
9c1dc747
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package
io.openmessaging.rocketmq
;
package
io.openmessaging.rocketmq
.config
;
import
io.openmessaging.PropertyKeys
;
import
io.openmessaging.PropertyKeys
;
import
io.openmessaging.rocketmq.domain.NonStandardKeys
;
import
io.openmessaging.rocketmq.domain.NonStandardKeys
;
...
...
openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/LocalMessageCache.java
浏览文件 @
9c1dc747
...
@@ -19,7 +19,7 @@ package io.openmessaging.rocketmq.consumer;
...
@@ -19,7 +19,7 @@ package io.openmessaging.rocketmq.consumer;
import
io.openmessaging.KeyValue
;
import
io.openmessaging.KeyValue
;
import
io.openmessaging.PropertyKeys
;
import
io.openmessaging.PropertyKeys
;
import
io.openmessaging.ServiceLifecycle
;
import
io.openmessaging.ServiceLifecycle
;
import
io.openmessaging.rocketmq.ClientConfig
;
import
io.openmessaging.rocketmq.
config.
ClientConfig
;
import
io.openmessaging.rocketmq.domain.ConsumeRequest
;
import
io.openmessaging.rocketmq.domain.ConsumeRequest
;
import
java.util.Collections
;
import
java.util.Collections
;
import
java.util.Map
;
import
java.util.Map
;
...
...
openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java
浏览文件 @
9c1dc747
...
@@ -21,7 +21,7 @@ import io.openmessaging.Message;
...
@@ -21,7 +21,7 @@ import io.openmessaging.Message;
import
io.openmessaging.PropertyKeys
;
import
io.openmessaging.PropertyKeys
;
import
io.openmessaging.PullConsumer
;
import
io.openmessaging.PullConsumer
;
import
io.openmessaging.exception.OMSRuntimeException
;
import
io.openmessaging.exception.OMSRuntimeException
;
import
io.openmessaging.rocketmq.ClientConfig
;
import
io.openmessaging.rocketmq.
config.
ClientConfig
;
import
io.openmessaging.rocketmq.domain.ConsumeRequest
;
import
io.openmessaging.rocketmq.domain.ConsumeRequest
;
import
io.openmessaging.rocketmq.utils.BeanUtils
;
import
io.openmessaging.rocketmq.utils.BeanUtils
;
import
io.openmessaging.rocketmq.utils.OMSUtil
;
import
io.openmessaging.rocketmq.utils.OMSUtil
;
...
...
openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java
浏览文件 @
9c1dc747
...
@@ -24,7 +24,7 @@ import io.openmessaging.PropertyKeys;
...
@@ -24,7 +24,7 @@ import io.openmessaging.PropertyKeys;
import
io.openmessaging.PushConsumer
;
import
io.openmessaging.PushConsumer
;
import
io.openmessaging.ReceivedMessageContext
;
import
io.openmessaging.ReceivedMessageContext
;
import
io.openmessaging.exception.OMSRuntimeException
;
import
io.openmessaging.exception.OMSRuntimeException
;
import
io.openmessaging.rocketmq.ClientConfig
;
import
io.openmessaging.rocketmq.
config.
ClientConfig
;
import
io.openmessaging.rocketmq.utils.BeanUtils
;
import
io.openmessaging.rocketmq.utils.BeanUtils
;
import
io.openmessaging.rocketmq.utils.OMSUtil
;
import
io.openmessaging.rocketmq.utils.OMSUtil
;
import
io.openmessaging.rocketmq.domain.NonStandardKeys
;
import
io.openmessaging.rocketmq.domain.NonStandardKeys
;
...
...
openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java
浏览文件 @
9c1dc747
...
@@ -27,7 +27,7 @@ import io.openmessaging.exception.OMSMessageFormatException;
...
@@ -27,7 +27,7 @@ import io.openmessaging.exception.OMSMessageFormatException;
import
io.openmessaging.exception.OMSNotSupportedException
;
import
io.openmessaging.exception.OMSNotSupportedException
;
import
io.openmessaging.exception.OMSRuntimeException
;
import
io.openmessaging.exception.OMSRuntimeException
;
import
io.openmessaging.exception.OMSTimeOutException
;
import
io.openmessaging.exception.OMSTimeOutException
;
import
io.openmessaging.rocketmq.ClientConfig
;
import
io.openmessaging.rocketmq.
config.
ClientConfig
;
import
io.openmessaging.rocketmq.domain.BytesMessageImpl
;
import
io.openmessaging.rocketmq.domain.BytesMessageImpl
;
import
io.openmessaging.rocketmq.utils.BeanUtils
;
import
io.openmessaging.rocketmq.utils.BeanUtils
;
import
org.apache.rocketmq.client.exception.MQBrokerException
;
import
org.apache.rocketmq.client.exception.MQBrokerException
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录