Class RabbitMqServiceImpl

java.lang.Object
ch.tocco.nice2.optional.rabbitmq.impl.RabbitMqServiceImpl
All Implemented Interfaces:
RabbitMqService

@Component public class RabbitMqServiceImpl extends Object implements RabbitMqService
  • Constructor Details

  • Method Details

    • setHost

      @Value("${nice2.optional.rabbitmq.host}") public void setHost(String host)
    • setVirtualHost

      @Value("${nice2.optional.rabbitmq.virtualHost}") public void setVirtualHost(String virtualHost)
    • setPort

      @Value("${nice2.optional.rabbitmq.port}") public void setPort(Integer port)
    • setUsername

      @Value("${nice2.optional.rabbitmq.username}") public void setUsername(String username)
    • setPassword

      @Value("${nice2.optional.rabbitmq.password}") public void setPassword(String password)
    • sendMessages

      public void sendMessages(String exchangeName, List<? extends RabbitMqService.Message> messages)
      Specified by:
      sendMessages in interface RabbitMqService
    • sendMessageEntities

      public void sendMessageEntities(EntityList messageEntities)
      Specified by:
      sendMessageEntities in interface RabbitMqService