On 27/02/2008, Sebastian Gomez <[EMAIL PROTECTED]> wrote:
> 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>
Sorry this is old XML from 1.0.0; we've since changed this to use
JAXB2 and create a nice XSD and during the transition the XML changed
a little. Try this...
<route>
<from uri="jbi:service:http://my.namespace//wiretap" />
<to uri="jbi:service:http://my.namespace//destination1"/>
<to uri="jbi:service:http://my.namespace//destination2"/>
</route>
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com