camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Help with WireTap please! (Noob)
Date Wed, 27 Feb 2008 13:00:37 GMT
On 27/02/2008, Sebastian Gomez <sage.es@gmail.com> 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

Mime
View raw message