DEV Community

Discussion on: Using multiple JMS servers with Spring Boot

Collapse
 
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);

Collapse
 
adzubla profile image
Eduardo Issao Ito • Edited

Probably you are importing the wrong class... Look at the complete source code with all imports at github.com/adzubla/qmgrs

Collapse
 
greeger profile image
Deev Greg

but I can not import import com.ibm.mq.spring.boot.MQConnectionFactoryFactory;