Announcement Announcement Module
No announcement yet.
Trying to resolve a WebMethods JMS endpoint defined in JNDI Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trying to resolve a WebMethods JMS endpoint defined in JNDI

    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 id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration">
            <property name="connectionFactory" ref="connectionFactory"/>
            <property name="destinationResolver" ref="destinationResolver"/>
        <bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
            <property name="jndiName" value="ConnectionFactoryName"/>
            <property name="jndiTemplate" ref="jndiTemplate"/>
        <bean id="destinationResolver" class="">
            <property name="jndiTemplate" ref="jndiTemplate"/>
        <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
            <property name="environment">
                   <prop key="java.naming.factory.initial">com.webmethods.jms.naming.WmJmsNamingCtxFactory</prop>
                   <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.
    Last edited by connecticut; Sep 26th, 2011, 10:10 AM. Reason: Correct a misspelling.