Pavan Dittakavi
Pavan Dittakavi

Reputation: 3181

RabbitMQ Example Code Not Compiling In Java

enter image description hereI started the RabbitMQ Java based interference recently and I see that the Producer part of the code was compiling, but the Consumer part of the code is not compiling as expected. This is the URL that I am referring to: https://www.rabbitmq.com/tutorials/tutorial-one-java.html

Specifically, this is the receiver code from the website: https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/java/Recv.java

Thanks, Pavan.

Upvotes: 0

Views: 75

Answers (1)

vavasthi
vavasthi

Reputation: 952

Are you sure you are using Java 1.8 and above?

Upvotes: 1

Related Questions