DEV Community

Discussion on: Using multiple JMS servers with Spring Boot

kundycoos profile image
Eng kue

I am getting an error on this line, MQConnectionFactoryFactory is expecting 0 parameters but found 2

return new MQConnectionFactoryFactory(properties, factoryCustomizers.getIfAvailable()).createConnectionFactory(MQConnectionFactory.class);

adzubla profile image
Eduardo Issao Ito Author • Edited

Probably you are importing the wrong class... Look at the complete source code with all imports at