I followed all the instructions mentioned in the tutorial. I am able to run the code and Spring runs fine. But the sender does not sends any message to the queue. How do I send/recieve msgs from the queue? Is there a command/LOC that I am missing?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@Override
public void run(String... arg0) throws Exception {
// TODO Auto-generated method stub
System.out.println("Ready ... running for "+ duration +" ms");
Thread.sleep(duration);
ctx.close();
}I just built tutorial 1 per the instructions and had no problems.Did you add @EnableScheduling to the RabbitAmqpTutorialsApplication as instructed?@SpringBootApplication@EnableSchedulingpublic class RabbitAmqpTutorialsApplication {The sender uses Spring's scheduling mechanism...@Scheduled(fixedDelay = 1000, initialDelay = 500)
On Sat, Sep 9, 2017 at 1:17 AM, Prasandeep Singh <prasa...@gmail.com> wrote:
I followed all the instructions mentioned in the tutorial. I am able to run the code and Spring runs fine. But the sender does not sends any message to the queue. How do I send/recieve msgs from the queue? Is there a command/LOC that I am missing?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'hello' in vhost '/': received 'true' but current is 'false', class-id=50, method-id=10)To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.