I'm trying to configure a Camel endpoint that resolves to a WebMethods JMS queue. This is in my Spring context:
<bean id="jmsConfig" class="org.apache.camel.component.jms.JmsComponent"> <property name="configuration" ref="jmsConfig"/> </bean> <bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration"> <property name="connectionFactory" ref="connectionFactory"/> <property name="destinationResolver" ref="destinationResolver"/> </bean> <bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="ConnectionFactoryName"/> <property name="jndiTemplate" ref="jndiTemplate"/> </bean> <bean id="destinationResolver" class="org.springframework.jms.support.destination.JndiDestinationResolver"> <property name="jndiTemplate" ref="jndiTemplate"/> </bean> <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate"> <property name="environment"> <props> <prop key="java.naming.factory.initial">com.webmethods.jms.naming.WmJmsNamingCtxFactory</prop> <prop key="java.naming.provider.url">${queue.url}</prop> </props> </property> </bean> When I start the application, I get a "ConversionNotSupportedException: Failed to convert property value of type 'COM.activesw.api.client.BrokerEvent' to required type 'javax.jms.ConnectionFactory' for property 'connectionFactory'." I'd appreciate any help. -- View this message in context: http://camel.465427.n5.nabble.com/Using-Camel-to-resolve-a-WebMethods-JMS-endpoint-defined-in-JNDI-tp4831237p4831237.html Sent from the Camel - Users mailing list archive at Nabble.com.