camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From connecticut <>
Subject Using Camel to resolve a WebMethods JMS endpoint defined in JNDI
Date Thu, 22 Sep 2011 19:22:20 GMT
I'm trying to configure a Camel endpoint that resolves to a WebMethods JMS
queue. This is in my Spring context:

    <bean id="jmsConfig"
        <property name="configuration" ref="jmsConfig"/>

    <bean id="jmsConfig"
        <property name="connectionFactory" ref="connectionFactory"/>
        <property name="destinationResolver" ref="destinationResolver"/>

    <bean id="connectionFactory"
        <property name="jndiName" value="ConnectionFactoryName"/>
        <property name="jndiTemplate" ref="jndiTemplate"/>

    <bean id="destinationResolver"
        <property name="jndiTemplate" ref="jndiTemplate"/>

    <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
        <property name="environment">
               <prop key="java.naming.provider.url">${queue.url}</prop>

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:
Sent from the Camel - Users mailing list archive at

View raw message