It is not possible to inject a specifically typed PulsarConsumerFactory nor ConcurrentPulsarListenerContainerFactory where the former is blocking creating custom typed consumers. @onobc you probably have an opinion on this.

Comment From: philwebb

I'm not sure it was intentional. Despite many years of Java experience I still struggle with generics. Usually my default rule is wildcards on parameters and concrete types on return values so I probably just followed that.

It is not possible to inject a specifically typed PulsarConsumerFactory

@jonasgeiregat It would be useful to see a sample or test that shows the failure with the current arrangement.

Comment From: jonas-grgt

I have added a test that should prove the failure. Simply changing <?> back to will trigger an injection error.

Comment From: mhalbritter

Thank you!

.