Hi, I am trying to do a poc on camel-zipkin. Java DSL works fine but xml bean definition doesnt.
Below is my route xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.3.xsd"> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="file:/Developer/Work/inbox" /> <to uri="file:/Developer/Work/outbox" /> </route> </camelContext> <bean id="scribe" class="com.github.kristofa.brave.scribe.ScribeSpanCollector"> <constructor-arg index="0" value="127.0.0.1"/> <constructor-arg index="1" value="9410"/> </bean> <bean id="zipkinTracer" class="org.apache.camel.zipkin.ZipkinTracer"> <property name="serviceName" value="dude"/> <property name="spanCollector" ref="scribe"/> </bean> </beans> i am running this context file directly. Dependencies am using are <dependencies> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>2.18.1</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-zipkin</artifactId> <version>2.18.1</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring</artifactId> <version>2.18.1</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.3.6.RELEASE</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-maven-plugin</artifactId> <version>2.18.1</version> <configuration> <applicationContextUri>META-INF/spring/applicationContext.xml</applicationContextUri> </configuration> </plugin> </plugins> </build> same example of moving files works if i use java dsl. Any help is greatly appreciated -- View this message in context: http://camel.465427.n5.nabble.com/Issue-Using-Camel-Zipkin-in-xml-tp5793995.html Sent from the Camel - Users mailing list archive at Nabble.com.
