Axon amqp - spring-rabbit 1.5 compatibility issue

Hi,

We’re trying to upgrade spring-amqp to 1.5 (for some recent changes with shutDownListener - cancelConsumer instead of waiting for shutdowntimeout).

When we try this, getting the below error. Is there any plan for upgrade to latest spring-amqp?

Caused by: java.lang.VerifyError: class org.axonframework.eventhandling.amqp.spring.ExtendedMessageListenerContainer overrides final method setExclusive.(Z)V

Thanks,
Jebu.

Hi,

support is already available for a while (2.4). The ListenerContainerFactory class will attempt to detect whether you’re using an old version or a new one of spring-amqp.

How do you configure amqp in your application?
Are you sure you don’t have both versions on your classpath?

Cheers,

Allard