提交 cfa0f6fa 编写于 作者: 武汉红喜's avatar 武汉红喜

rename package

上级 2d777683
package org.hongxi.whatsmars.mq.activemq.boot;
package org.hongxi.whatsmars.activemq.boot;
import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.boot.SpringApplication;
......
package org.hongxi.whatsmars.mq.activemq.boot;
package org.hongxi.whatsmars.activemq.boot;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;
......
package org.hongxi.whatsmars.mq.activemq.boot;
package org.hongxi.whatsmars.activemq.boot;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
......
package org.hongxi.whatsmars.mq.activemq.spring;
package org.hongxi.whatsmars.activemq.spring;
import org.springframework.context.support.ClassPathXmlApplicationContext;
......
package org.hongxi.whatsmars.mq.activemq.spring;
package org.hongxi.whatsmars.activemq.spring;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jms.core.JmsTemplate;
......
......@@ -22,6 +22,6 @@
<property name="sessionAcknowledgeMode" value="2"/>
</bean>
<bean id="demoMessageListener" class="org.hongxi.whatsmars.mq.activemq.spring.DemoMessageListener"/>
<bean id="demoMessageListener" class="org.hongxi.whatsmars.activemq.spring.DemoMessageListener"/>
</beans>
\ No newline at end of file
package org.hongxi.whatsmars.mq.kafka;
package org.hongxi.whatsmars.kafka;
import kafka.consumer.ConsumerConfig;
import kafka.consumer.ConsumerIterator;
......
package org.hongxi.whatsmars.mq.kafka;
package org.hongxi.whatsmars.kafka;
import kafka.javaapi.producer.Producer;
import kafka.producer.KeyedMessage;
......
package org.hongxi.whatsmars.mq.rabbitmq;
package org.hongxi.whatsmars.rabbitmq;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
......
package org.hongxi.whatsmars.mq.rabbitmq;
package org.hongxi.whatsmars.rabbitmq;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
......
package org.hongxi.whatsmars.mq.rabbitmq.boot;
package org.hongxi.whatsmars.rabbitmq.boot;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
......
package org.hongxi.whatsmars.mq.rabbitmq.boot;
package org.hongxi.whatsmars.rabbitmq.boot;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
......
package org.hongxi.whatsmars.mq.rocketmq.config.spring;
package org.hongxi.whatsmars.rocketmq.config.spring;
import lombok.extern.slf4j.Slf4j;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
......
package org.hongxi.whatsmars.mq.rocketmq.config.spring;
package org.hongxi.whatsmars.rocketmq.config.spring;
import lombok.extern.slf4j.Slf4j;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.InitializingBean;
......
package org.hongxi.whatsmars.mq.rocketmq;
package org.hongxi.whatsmars.rocketmq;
import org.apache.rocketmq.common.MixAll;
import org.springframework.boot.SpringApplication;
......
package org.hongxi.whatsmars.mq.rocketmq.boot.consumer;
package org.hongxi.whatsmars.rocketmq.boot.consumer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
package org.hongxi.whatsmars.mq.rocketmq.boot.consumer;
package org.hongxi.whatsmars.rocketmq.boot.consumer;
import lombok.extern.slf4j.Slf4j;
import org.apache.rocketmq.spring.starter.annotation.RocketMQMessageListener;
......
package org.hongxi.whatsmars.mq.rocketmq.boot.consumer;
package org.hongxi.whatsmars.rocketmq.boot.consumer;
import lombok.extern.slf4j.Slf4j;
import org.apache.rocketmq.spring.starter.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.starter.core.RocketMQListener;
import org.hongxi.whatsmars.mq.rocketmq.boot.OrderPaidEvent;
import org.hongxi.whatsmars.rocketmq.boot.OrderPaidEvent;
import org.springframework.stereotype.Service;
@Slf4j
......
package org.hongxi.whatsmars.mq.rocketmq.boot.producer;
package org.hongxi.whatsmars.rocketmq.boot.producer;
import org.apache.rocketmq.spring.starter.core.RocketMQTemplate;
import org.hongxi.whatsmars.mq.rocketmq.boot.OrderPaidEvent;
import org.hongxi.whatsmars.rocketmq.boot.OrderPaidEvent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.broadcast;
package org.hongxi.whatsmars.rocketmq.broadcast;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext;
......
package org.hongxi.whatsmars.mq.rocketmq.ordermessage;
package org.hongxi.whatsmars.rocketmq.ordermessage;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext;
......
package org.hongxi.whatsmars.mq.rocketmq.ordermessage;
package org.hongxi.whatsmars.rocketmq.ordermessage;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.client.producer.MessageQueueSelector;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.quickstart;
package org.hongxi.whatsmars.rocketmq.quickstart;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.quickstart;
package org.hongxi.whatsmars.rocketmq.quickstart;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.common.message.MessageExt;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.consumer.DefaultMQPullConsumer;
import org.apache.rocketmq.client.consumer.PullResult;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.consumer.DefaultMQPullConsumer;
import org.apache.rocketmq.client.consumer.PullResult;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.consumer.*;
import org.apache.rocketmq.client.exception.MQClientException;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext;
......
......@@ -15,7 +15,7 @@
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.common.message.MessageExt;
import org.apache.rocketmq.common.message.MessageQueue;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.simple;
package org.hongxi.whatsmars.rocketmq.simple;
import org.apache.rocketmq.client.QueryResult;
import org.apache.rocketmq.client.exception.MQClientException;
......
package org.hongxi.whatsmars.mq.rocketmq.spring.demo;
package org.hongxi.whatsmars.rocketmq.spring.demo;
import org.springframework.context.support.ClassPathXmlApplicationContext;
......
package org.hongxi.whatsmars.mq.rocketmq.spring.demo;
package org.hongxi.whatsmars.rocketmq.spring.demo;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyStatus;
......
package org.hongxi.whatsmars.mq.rocketmq.spring.demo;
package org.hongxi.whatsmars.rocketmq.spring.demo;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.client.producer.SendResult;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.transaction;
package org.hongxi.whatsmars.rocketmq.transaction;
import org.apache.rocketmq.client.producer.LocalTransactionState;
import org.apache.rocketmq.client.producer.TransactionListener;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.hongxi.whatsmars.mq.rocketmq.transaction;
package org.hongxi.whatsmars.rocketmq.transaction;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.SendResult;
......
......@@ -5,7 +5,7 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"
default-autowire="byName">
<bean class="org.hongxi.whatsmars.mq.rocketmq.config.spring.Consumer">
<bean class="org.hongxi.whatsmars.rocketmq.config.spring.Consumer">
<property name="consumerGroup" value="quick_start_consumer_group" />
<property name="namesrvAddr" value="127.0.0.1:9876" />
<property name="topic" value="TopicTest" />
......@@ -13,5 +13,5 @@
<property name="messageListener" ref="demoMessageListener" />
</bean>
<bean id="demoMessageListener" class="org.hongxi.whatsmars.mq.rocketmq.spring.demo.DemoMessageListener" />
<bean id="demoMessageListener" class="org.hongxi.whatsmars.rocketmq.spring.demo.DemoMessageListener" />
</beans>
\ No newline at end of file
......@@ -5,7 +5,7 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"
default-autowire="byName">
<bean id="defaultMQProducer" class="org.hongxi.whatsmars.mq.rocketmq.config.spring.Producer">
<bean id="defaultMQProducer" class="org.hongxi.whatsmars.rocketmq.config.spring.Producer">
<property name="producerGroup" value="quick_start_producer_group" />
<property name="namesrvAddr" value="127.0.0.1:9876" />
</bean>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册