Skip to content

Commit

Permalink
add mq sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ipipman committed Jul 14, 2024
1 parent 995bc2a commit 8c01e57
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ public static void main(String[] args) {
SpringApplication.run(MqClientSpringDemoApplication.class, args);
}


@Bean
@SuppressWarnings("unchecked")
public ApplicationRunner runner(@Autowired ApplicationContext context) {
return x -> {

int ids = 0;
String topic = "im.order";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cn.ipman.mq.client.demo;
package cn.ipman.mq.client.spring.demo.sample;

import cn.ipman.mq.client.broker.MQBroker;
import cn.ipman.mq.client.broker.MQConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cn.ipman.mq.client.demo;
package cn.ipman.mq.client.spring.demo.sample;

import cn.ipman.mq.client.broker.MQBroker;
import cn.ipman.mq.client.broker.MQConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cn.ipman.mq.client.demo;
package cn.ipman.mq.client.spring.demo.sample;

import cn.ipman.mq.client.broker.MQBroker;
import cn.ipman.mq.client.broker.MQConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cn.ipman.mq.client.spring.demo;
package cn.ipman.mq.client.spring.demo.sample;

import cn.ipman.mq.client.annotation.MQListener;
import cn.ipman.mq.metadata.model.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cn.ipman.mq.client.demo;
package cn.ipman.mq.client.spring.demo.sample;


import cn.ipman.mq.client.client.netty.NettyMQClient;
Expand Down

This file was deleted.

0 comments on commit 8c01e57

Please sign in to comment.