I need to configure my app in order to send and consumes messages from/to a queue sitting on on anoter server. I have the following configuration in my application.properties: spring.rabbitmq.host=amqp://cloudamqp.com/... spring.rabbitmq.port=5672 spring.rabbitmq.username=jpkszgmu spring.rabbitmq.password=***********************And in my controller: And the listener: @RabbitListener(queues = queueName) public void process(@Payload SMS s){ System.out.println("SMS Recus: "+s.toString()); r.send(s); }However I am getting errors saying the any help? Full Trace of the error
UPDATE 3 ERROR 8392 — [cTaskExecutor-1] o.s.a.r.l.SimpleMessageListenerContainer : Failed to check/redeclare auto-delete queue(s). org.springframework.amqp.AmqpIOException: java.io.IOException |