Hi! I'm using Camel with Servicemix, and I wanted to implement a Wiretap. I've tried loads of combinations in the CamelContext.xml file to make it work, but ServiceMix keeps saying there's something wrong.
For example: (using http://activemq.apache.org/camel/wire-tap.html format) <route> <from uri= "jbi:service:http://my.namespace//wiretap" /> <to> <uri>jbi:service:http://my.namespace//destination1</uri> <uri>jbi:service:http://my.namespace//destination2"</uri> </to> </route> gives me the following exception in Servicemix: org.apache.camel.RuntimeCam elException: java.lang.IllegalArgumentException: Either 'uri' or 'ref' must be s pecified on: [EMAIL PROTECTED]</loc-message> I've had a look at the schema defined on http://activemq.apache.org/camel/schema/spring/camel-spring.xsd but I can't find the way of putting more than one destination on the "to" tag. Any help would be appreciated. Best regards. Sebastian Gomez.
