Package org.springframework.amqp.rabbit.connection

Examples of org.springframework.amqp.rabbit.connection.ChannelProxy


      @Override
      public Object answer(InvocationOnMock invocation) throws Throwable {
        Set<?> consumers = TestUtils.getPropertyValue(container, "consumers", Map.class).keySet();
        for (Object consumer : consumers) {
          ChannelProxy channel = TestUtils.getPropertyValue(consumer, "channel", ChannelProxy.class);
          if (channel != null && channel.getTargetChannel() == mockChannel) {
            Consumer rabbitConsumer = TestUtils.getPropertyValue(consumer, "consumer", Consumer.class);
            if (cancel) {
              rabbitConsumer.handleCancelOk((String) invocation.getArguments()[0]);
            }
            else {
View Full Code Here

TOP

Related Classes of org.springframework.amqp.rabbit.connection.ChannelProxy

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.