THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- the
from("jbi:service:urn:servicemix:tutorial:wiretap")
defines the starting point of our route and creates a matching JBI endpoint that we can use from our other SUs (in our case, thetutorial-file-su
refers to it) - by default, the normalized message sent by the
<file
:poller/>
will contain a StreamSource and for now we need to convert our message body to DOMSource ourselves to ensure re-readability by both target endpoint – this step will disappear with our next release - the
to("jbi:endpoint:urn:servicemix:tutorial:jms:myQueue", "jbi:endpoint:urn:servicemix:tutorial:{{file
:sender")
will send the message to both JBI endpoints mentioned
...