solace-mq

Error Casting Spring's JndiObjectFactoryBean to ConnectionFactory for Solace-MQ JMS

房东的猫 提交于 2019-12-10 20:51:24
问题 I have a good working XML configuration for Camel Context that uses JNDI with Spring Later Solace.JndiObjectFactoryBean gets used as connectionFactory <bean id="Solace.JmsComponent" class=" on"> <property name="connectionFactory" ref="Solace.JndiObjectFactoryBean" /> <property name="destinationResolver" ref="Solace.JndiDestinationResolver" /> </bean> I am trying to convert this into a Java class that extends from org.apache.camel.spring.javaconfig.CamelConfiguration . But there is one problem