[rabbitmq-discuss] code compile error while upgrading rabbitmq 2.4.1 to 2.5.0.

Matthias Radestock matthias at rabbitmq.com
Mon Jun 27 10:22:01 BST 2011


Amarjinder,

On 24/06/11 19:46, Amarjinder Sandhu wrote:
> Please advise Code Compile error while upgrading rabbitmq 2.4.1 to 2.5.0.
>
> [INFO] Compilation failure
>
> /home/asandhu/kno-workflow/agents/wf-content/src/main/java/com/kno/consumer/ContentProducer.java:[57,51]
> <anonymous com.kno.consumer.ContentProducer$1> is not abstract and does
> not override abstract method
> handleReturn(int,java.lang.String,java.lang.String,java.lang.String,com.rabbitmq.client.AMQP.BasicProperties,byte[])
> in com.rabbitmq.client.ReturnListener

I suspect you get the above because ReturnListener.handleBasicReturn got 
renamed to handleReturn. But that happened in 2.4.0, so it's strange 
that you are running into this only now.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list