Package org.springframework.xd.dirt.integration.rabbit

Examples of org.springframework.xd.dirt.integration.rabbit.RabbitMessageBus$RabbitPropertiesAccessor


  public RabbitTestMessageBus(ConnectionFactory connectionFactory) {
    this.rabbitAdmin = new RabbitAdmin(connectionFactory);
  }

  public RabbitTestMessageBus(ConnectionFactory connectionFactory, MultiTypeCodec<Object> codec) {
    RabbitMessageBus messageBus = new RabbitMessageBus(connectionFactory, codec);
    GenericApplicationContext context = new GenericApplicationContext();
    context.refresh();
    messageBus.setApplicationContext(context);
    this.setMessageBus(messageBus);
    this.rabbitAdmin = new RabbitAdmin(connectionFactory);
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.integration.rabbit.RabbitMessageBus$RabbitPropertiesAccessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.