I'm having a problem with disruptor consumers not being called (receiving messages) when switching from camel 2.17.1 to 2.24.1+ in a spring app. The code works fine with 2.17.
To recreate issue clone https://github.com/cmadsen/test-disruptor and:
mvn test (fails)
edit pom.xml so camel dep is 2.17.1
mvn test (ok)
alternatively keep camel 2.24 dep. and edit TestDisruptor.java and uncomment context.start() line and do mvn test (ok).
It seems like calling createConsumerTemplate on a context that is not yet started stopped working in 2.18 and onwards. Playing with autoStartup="false" and doing getBean("camel").start() does not help which is odd as doing a manual context start when autoStartup="true" does work.
With 3.0.0-M4 it does not work either but I do get a
java.util.concurrent.RejectedExecutionException: CamelContext is stopped when trying to create the consumer.