Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
EnableQmq annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
zh_yu committed Jan 23, 2019
1 parent b6395f6 commit 4d92df8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import qunar.tc.qmq.MessageProducer;
import qunar.tc.qmq.consumer.annotation.EnableQmq;
import qunar.tc.qmq.producer.MessageProducerProvider;

import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

@Configuration
@EnableQmq(appCode = "qmq_test", metaServer = "http://127.0.0.1:8080/meta/address")
public class BeanConfig {

@Bean
Expand Down

0 comments on commit 4d92df8

Please sign in to comment.