Package org.springframework.integration.redis.outbound

Examples of org.springframework.integration.redis.outbound.RedisQueueOutboundChannelAdapter.afterPropertiesSet()


    RedisConnectionFactory connectionFactory = redisAvailableRule.getResource();
    RedisQueueOutboundChannelAdapter adapter = new RedisQueueOutboundChannelAdapter(deployerQueue,
        connectionFactory);
    adapter.setBeanFactory(BusTestUtils.MOCK_BF);
    adapter.setExtractPayload(false);
    adapter.afterPropertiesSet();
    ModuleDescriptor request = new ModuleDescriptor.Builder()
        .setGroup("test")
        .setType(ModuleType.processor)
        .setModuleName("filter")
        .setIndex(0)
View Full Code Here


    RedisConnectionFactory connectionFactory = redisAvailableRule.getResource();
    RedisQueueOutboundChannelAdapter adapter = new RedisQueueOutboundChannelAdapter(deployerQueue,
        connectionFactory);
    adapter.setBeanFactory(BusTestUtils.MOCK_BF);
    adapter.setExtractPayload(false);
    adapter.afterPropertiesSet();
    ModuleDescriptor sinkRequest = new ModuleDescriptor.Builder()
        .setGroup("teststream")
        .setType(ModuleType.sink)
        .setModuleName("log")
        .setIndex(1)
View Full Code Here

        queue = new RedisQueueOutboundChannelAdapter(
            parser.parseExpression(buildPartitionRoutingExpression(queueName)), this.connectionFactory);
      }
      queue.setIntegrationEvaluationContext(this.evaluationContext);
      queue.setBeanFactory(this.getBeanFactory());
      queue.afterPropertiesSet();
      doRegisterProducer(name, moduleOutputChannel, queue, accessor);
    }
  }

  @Override
View Full Code Here

    Assert.isInstanceOf(SubscribableChannel.class, requests);
    validateProducerProperties(name, properties, SUPPORTED_REQUESTING_PRODUCER_PROPERTIES);
    RedisQueueOutboundChannelAdapter queue = new RedisQueueOutboundChannelAdapter("queue." + name + ".requests",
        this.connectionFactory);
    queue.setBeanFactory(this.getBeanFactory());
    queue.afterPropertiesSet();
    String replyQueueName = name + ".replies." + this.getIdGenerator().generateId();
    RedisPropertiesAccessor accessor = new RedisPropertiesAccessor(properties);
    this.doRegisterProducer(name, requests, queue, replyQueueName, accessor);
    MessageProducerSupport adapter = createInboundAdapter(accessor, replyQueueName);
    this.doRegisterConsumer(name, name, replies, adapter, accessor);
View Full Code Here

    RedisQueueOutboundChannelAdapter replyQueue = new RedisQueueOutboundChannelAdapter(
        RedisMessageBus.parser.parseExpression("headers['" + REPLY_TO + "']"),
        this.connectionFactory);
    replyQueue.setBeanFactory(this.getBeanFactory());
    replyQueue.setIntegrationEvaluationContext(this.evaluationContext);
    replyQueue.afterPropertiesSet();
    this.doRegisterProducer(name, replies, replyQueue, accessor);
  }

  @Override
  public void destroy() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.