Hi,
I only used servicemix for two weeks, so I'm not familiar with all the
concepts yet. Please be tolerant...
I'm trying to route a message from an http su to a jms queue inside
servicemix through a jms su, using camel. I started from the http bridge
sample wich worked well, and then replaced the eip-su with a camel su.
It seems that the servicename of the camel-su is not registered :
On deployment i've got this warning :
WARN | Timer-4 | ResolverUtil |
apache.camel.util.ResolverUtil 603 | Could not find class
'org/apache/activemq/camel/converter/ActiveMQMessageConverter$1.class' in
any classloaders: [...]
And when i post the message :
15:42:34,656 | WARN | btpool1-1 | DefaultBroker |
rvicemix.jbi.nmr.DefaultBroker 344 | ServiceName
({http://servicemix.apache.org/samples/bridge}camel) specified for routing,
but can't find it registered
My camel-context file :
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://xbean.org/schemas/spring/1.0"
xmlns:bean="http://servicemix.apache.org/bean/1.0"
xmlns:b="http://servicemix.apache.org/samples/bridge"
xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:camel="http://activemq.apache.org/camel/schema/spring"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://servicemix.apache.org/bean/1.0
http://servicemix.apache.org/bean/1.0
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring
">
<container id="jbiContainer" embedded="true">
<sm:components>
<ref id="jbi" />
</sm:components>
<sm:endpoints>
<bean:endpoint service="b:camel" endpoint="endpoint" />
</sm:endpoints>
</container>
<bean id="jbi" class="org.apache.servicemix.camel.CamelJbiComponent" />
<camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring">
<package>org.bridge.camel.su.MyRouteBuilder</package>
</camelContext>
</beans>
What am I doing wrong ? Thanks,
Florian
--
View this message in context:
http://www.nabble.com/Trying-to-route-http-msg-with-camel-tp20722508p20722508.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.