@Bean
    AMQPComponent amqp(@Value("${AMQP_SERVICE_HOST:localhost}") String amqpBrokerUrl,
            @Value("${AMQP_SERVICE_PORT:5672}") int amqpBrokerPort) throws MalformedURLException {
        LOG.debug("About to create AMQP component {}:{}", amqpBrokerUrl, amqpBrokerPort);
        return amqp10Component("amqp://" + amqpBrokerUrl + ":" + amqpBrokerPort);
    }
@ Bean AMQPComponent amqp ( @ Value ( "${AMQP_SERVICE_HOST:localhost}" ) String amqpBrokerUrl , @ Value ( "${AMQP_SERVICE_PORT:5672}" ) int amqpBrokerPort ) throws MalformedURLException { LOG . debug ( "About to create AMQP component {}:{}" , amqpBrokerUrl , amqpBrokerPort ) ; return amqp10Component ( "amqp://" + amqpBrokerUrl + ":" + amqpBrokerPort ) ; }
IoT Connector configuration