Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • 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, the tutorial-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

...