public interface MQProducer extends MQAdmin
createTopic, createTopic, earliestMsgStoreTime, maxOffset, minOffset, queryMessage, searchOffset, viewMessagevoid start()
throws MQClientException
void shutdown()
List<MessageQueue> fetchPublishMessageQueues(String topic) throws MQClientException
SendResult send(Message msg) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, MQBrokerException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionMQBrokerExceptionInterruptedExceptionSendResult send(Message msg, long timeout) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, MQBrokerException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionMQBrokerExceptionInterruptedExceptionvoid send(Message msg, SendCallback sendCallback) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionvoid send(Message msg, SendCallback sendCallback, long timeout) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionvoid sendOneway(Message msg) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionSendResult send(Message msg, MessageQueue mq) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, MQBrokerException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionMQBrokerExceptionInterruptedExceptionSendResult send(Message msg, MessageQueue mq, long timeout) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, MQBrokerException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionMQBrokerExceptionInterruptedExceptionvoid send(Message msg, MessageQueue mq, SendCallback sendCallback) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionvoid send(Message msg, MessageQueue mq, SendCallback sendCallback, long timeout) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionvoid sendOneway(Message msg, MessageQueue mq) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionSendResult send(Message msg, MessageQueueSelector selector, Object arg) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, MQBrokerException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionMQBrokerExceptionInterruptedExceptionSendResult send(Message msg, MessageQueueSelector selector, Object arg, long timeout) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, MQBrokerException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionMQBrokerExceptionInterruptedExceptionvoid send(Message msg, MessageQueueSelector selector, Object arg, SendCallback sendCallback) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionvoid send(Message msg, MessageQueueSelector selector, Object arg, SendCallback sendCallback, long timeout) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionvoid sendOneway(Message msg, MessageQueueSelector selector, Object arg) throws MQClientException, com.alibaba.rocketmq.remoting.exception.RemotingException, InterruptedException
MQClientExceptioncom.alibaba.rocketmq.remoting.exception.RemotingExceptionInterruptedExceptionTransactionSendResult sendMessageInTransaction(Message msg, LocalTransactionExecuter tranExecuter, Object arg) throws MQClientException
Copyright © 2012–2016. All rights reserved.