Sebastian Gomez wrote:
Thanks a lot, now it deploys perfectly in Servicemix. Is it possible for you
to send me a link to the new XSD so I can see any other changes there have
been? And if it is not too much asking, is there some info somewhere to do
something like:
from(....).convertBodyTo(DOMSource.class).to(....)
using the camelContext.xml?
I think this is still an open issue :(
I'd really appreciate the XSD, I spent quite some time this morning looking
for the latest version, without success.
Please see http://activemq.apache.org/camel/xml-reference.html for all
Camel related XSDs.
Sebastian Gomez
On Wed, Feb 27, 2008 at 2:00 PM, James Strachan <[EMAIL PROTECTED]>
wrote:
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.htmlformat)
<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