On Wed, Dec 30, 2009 at 6:11 PM, James Carr <[email protected]> wrote:
> Hi,
>
> I've been trying to simply take a message sent to a cxf endpoint and
> reroute it to a JMS topic. First I tried re-routing the message to a
> bean and it worked fine, so I set up a jms component and tried to use
> it... however when the message is sent to the CXF Http endpoint,
> nothing happens... I even garbled the topic name in a vain effort to
> see some sort of failure, but nothing.
>
> Anyway to get see why the route doesn't work? If I switch it to any
> other destination BESDIES the jms based component, it works perfectly
> fine :(
>

You gotta provide more details such as
- camel version
- jdk version
- which JMS broker
- do you got all the required jars on the classpath for the JMS broker
- What kind of error do you get?
- have you before send to the JMS broker from Java?
- what container do you use etc.



>        <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
>                <property name="connectionFactory">
>                        <jee:jndi-lookup
> jndi-name="org/jamescarr/connectionFactory"></jee:jndi-lookup>
>                </property>
>        </bean>
>        <camel:camelContext id="camel">
>                <camel:route>
>                        <camel:from uri="cxf:bean:routerEndpoint" />
>                        <camel:to 
> uri="jms:topic:org/jamescarr/processCompleted" />
>                </camel:route>
>        </camel:camelContext>
>
> Thanks,
> James
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to