org.springframework.amqp.core.FanoutExchange Java Examples

The following examples show how to use org.springframework.amqp.core.FanoutExchange. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: gpmall   Author: 2227324689   File: RabbitMqConfig.java    License: Apache License 2.0 5 votes vote down vote up
@Bean
public FanoutExchange delayExchange(){
	Map<String,Object> args=new HashMap<>();
	args.put("x-delayed-type","direct");
	FanoutExchange topic=new FanoutExchange(DELAY_EXCHANGE,true,false,args);
	topic.setDelayed(true);
	return topic;
}
 
Example #2
Source Project: Spring-Boot-Book   Author: xiuhuai   File: RabbitmqConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange("fanoutExchanger");
}
 
Example #3
Source Project: Spring-Boot-Book   Author: xiuhuai   File: RabbitmqConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeA(Queue queueA, FanoutExchange fanoutExchanger) {
    return BindingBuilder.bind(queueA).to(fanoutExchanger);
}
 
Example #4
Source Project: Spring-Boot-Book   Author: xiuhuai   File: RabbitmqConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeB(Queue queueB, FanoutExchange fanoutExchanger) {
    return BindingBuilder.bind(queueB).to(fanoutExchanger);
}
 
Example #5
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(EMqExchange.RTU_DATA.getMqFanoutExchange());
}
 
Example #6
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange1() {
    return new FanoutExchange(EMqExchange.RTU_HEART.getMqFanoutExchange());
}
 
Example #7
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange2() {
    return new FanoutExchange(EMqExchange.RTU_SIGNAL.getMqFanoutExchange());
}
 
Example #8
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange3() {
    return new FanoutExchange(EMqExchange.RTU_UNREGISTERED.getMqFanoutExchange());
}
 
Example #9
Source Project: springbootexamples   Author: zhuoqianmingyue   File: RabbitMQFanoutConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange fanoutExchage(){
	return new FanoutExchange(FANOUT_EXCHANGE);
}
 
Example #10
Source Project: springboot-learning-experience   Author: WinterChenS   File: FanoutRabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange("fanoutExchange");
}
 
Example #11
Source Project: springboot-learning-experience   Author: WinterChenS   File: FanoutRabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeA(Queue AMessage,FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(AMessage).to(fanoutExchange);
}
 
Example #12
Source Project: springboot-learning-experience   Author: WinterChenS   File: FanoutRabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeB(Queue BMessage, FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(BMessage).to(fanoutExchange);
}
 
Example #13
Source Project: springboot-learning-experience   Author: WinterChenS   File: FanoutRabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeC(Queue CMessage, FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(CMessage).to(fanoutExchange);
}
 
Example #14
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(EMqExchange.RTU_DATA.getMqFanoutExchange());
}
 
Example #15
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange1() {
    return new FanoutExchange(EMqExchange.RTU_HEART.getMqFanoutExchange());
}
 
Example #16
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange2() {
    return new FanoutExchange(EMqExchange.RTU_SIGNAL.getMqFanoutExchange());
}
 
Example #17
Source Project: iot-dc   Author: Theembers   File: RabbitMQConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange3() {
    return new FanoutExchange(EMqExchange.RTU_UNREGISTERED.getMqFanoutExchange());
}
 
Example #18
Source Project: Pixiv-Illustration-Collection-Backend   Author: OysterQAQ   File: RabbitmqConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean("fanoutExchange")
FanoutExchange fanoutExchange() {
    return new FanoutExchange("fanoutExchange");//配置广播路由器
}
 
Example #19
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutRemoveInterceptors() {

     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_REMOVE_INTERCEPTORS, false, true);
}
 
Example #20
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutAddInterceptors() {
     
     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_ADD_INTERCEPTORS, false, true);
}
 
Example #21
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutRefreshAllInterceptors() {
     
     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_REFRESH_ALL_INTERCEPTORS, false, true);
}
 
Example #22
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutCleanAllCaches() {
     
     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_CLEAN_ALL_CACHES, false, true);
}
 
Example #23
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutRoutes() {

     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_ROUTES, false, true);
}
 
Example #24
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutMiddlewares() {
     
     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_MIDDLEWARES, false, true);
}
 
Example #25
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutRemoveMiddlewares() {
     
     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_REMOVE_MIDDLEWARES, false, true);
}
 
Example #26
Source Project: heimdall   Author: getheimdall   File: RabbitConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange exchangeFanoutCleanInterceptorsCache() {

     return new FanoutExchange(RabbitConstants.EXCHANGE_FANOUT_HEIMDALL_CLEAN_INTERCEPTORS_CACHE, false, true);
}
 
Example #27
Source Project: blog_demos   Author: zq2599   File: RabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(exchangeName);
}
 
Example #28
Source Project: blog_demos   Author: zq2599   File: RabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingFanoutExchange(Queue fanoutQueue, FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(fanoutQueue).to(fanoutExchange);
}
 
Example #29
Source Project: blog_demos   Author: zq2599   File: RabbitConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(exchangeName);
}
 
Example #30
Source Project: hawkbit   Author: eclipse   File: DmfTestConfiguration.java    License: Eclipse Public License 1.0 4 votes vote down vote up
@Bean
FanoutExchange replyToExchange() {
    return new FanoutExchange(REPLY_TO_EXCHANGE, false, true);
}