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 File: RabbitMqConfig.java    From gpmall with 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 File: RabbitConfig.java    From blog_demos with Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingFanoutExchange(Queue fanoutQueue, FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(fanoutQueue).to(fanoutExchange);
}
 
Example #3
Source File: RabbitmqConfig.java    From Spring-Boot-Book with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange("fanoutExchanger");
}
 
Example #4
Source File: RabbitConfiguration.java    From heimdall with 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 #5
Source File: RabbitConfiguration.java    From heimdall with 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 #6
Source File: RabbitConfiguration.java    From heimdall with 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 #7
Source File: RabbitConfiguration.java    From heimdall with 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 #8
Source File: RabbitConfiguration.java    From heimdall with 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 #9
Source File: RabbitConfiguration.java    From heimdall with 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 #10
Source File: RabbitConfig.java    From blog_demos with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(exchangeName);
}
 
Example #11
Source File: RabbitConfiguration.java    From heimdall with 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 #12
Source File: RabbitConfig.java    From blog_demos with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(exchangeName);
}
 
Example #13
Source File: DmfTestConfiguration.java    From hawkbit with Eclipse Public License 1.0 4 votes vote down vote up
@Bean
FanoutExchange replyToExchange() {
    return new FanoutExchange(REPLY_TO_EXCHANGE, false, true);
}
 
Example #14
Source File: RabbitMQConfig.java    From micro-service with MIT License 4 votes vote down vote up
@Bean
public FanoutExchange classesExchange() {
	return new FanoutExchange(exchangeName, true, false);
}
 
Example #15
Source File: DLXParkingLotAmqpConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
FanoutExchange parkingLotExchange() {
    return new FanoutExchange(EXCHANGE_PARKING_LOT);
}
 
Example #16
Source File: DLXParkingLotAmqpConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
FanoutExchange deadLetterExchange() {
    return new FanoutExchange(DLX_EXCHANGE_MESSAGES);
}
 
Example #17
Source File: DLXCustomAmqpConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
FanoutExchange deadLetterExchange() {
    return new FanoutExchange(DLX_EXCHANGE_MESSAGES);
}
 
Example #18
Source File: RoutingKeyDLQAmqpConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
FanoutExchange deadLetterExchange() {
    return new FanoutExchange(DLX_EXCHANGE_MESSAGES);
}
 
Example #19
Source File: RabbitMQFanoutConfig.java    From springbootexamples with Apache License 2.0 4 votes vote down vote up
@Bean
public FanoutExchange fanoutExchage(){
	return new FanoutExchange(FANOUT_EXCHANGE);
}
 
Example #20
Source File: RabbitmqConfig.java    From Spring-Boot-Book with Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeA(Queue queueA, FanoutExchange fanoutExchanger) {
    return BindingBuilder.bind(queueA).to(fanoutExchanger);
}
 
Example #21
Source File: RabbitmqConfig.java    From Spring-Boot-Book with Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeB(Queue queueB, FanoutExchange fanoutExchanger) {
    return BindingBuilder.bind(queueB).to(fanoutExchanger);
}
 
Example #22
Source File: RabbitMQConfig.java    From iot-dc with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange(EMqExchange.RTU_DATA.getMqFanoutExchange());
}
 
Example #23
Source File: RabbitMQConfig.java    From iot-dc with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange1() {
    return new FanoutExchange(EMqExchange.RTU_HEART.getMqFanoutExchange());
}
 
Example #24
Source File: RabbitMQConfig.java    From iot-dc with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange2() {
    return new FanoutExchange(EMqExchange.RTU_SIGNAL.getMqFanoutExchange());
}
 
Example #25
Source File: RabbitMQConfig.java    From iot-dc with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange3() {
    return new FanoutExchange(EMqExchange.RTU_UNREGISTERED.getMqFanoutExchange());
}
 
Example #26
Source File: RabbitConfiguration.java    From heimdall with 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 #27
Source File: FanoutRabbitConfig.java    From springboot-learning-experience with Apache License 2.0 4 votes vote down vote up
@Bean
FanoutExchange fanoutExchange() {
    return new FanoutExchange("fanoutExchange");
}
 
Example #28
Source File: FanoutRabbitConfig.java    From springboot-learning-experience with Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeA(Queue AMessage,FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(AMessage).to(fanoutExchange);
}
 
Example #29
Source File: FanoutRabbitConfig.java    From springboot-learning-experience with Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeB(Queue BMessage, FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(BMessage).to(fanoutExchange);
}
 
Example #30
Source File: FanoutRabbitConfig.java    From springboot-learning-experience with Apache License 2.0 4 votes vote down vote up
@Bean
Binding bindingExchangeC(Queue CMessage, FanoutExchange fanoutExchange) {
    return BindingBuilder.bind(CMessage).to(fanoutExchange);
}