Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Firstly here is an example XSQL document. As you can see its a piece of XML which allows embedded SQL statements inside it.

Wiki Markup
{snippet:id=timerxsql|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/test/resources/org/servicemix/components/xsql/example.xsql?rev=HEAD}

Then we can convert this into a JBI component and apply it in a pipeline as follows...

Wiki Markup
{snippet:id=timerxsql|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/test/resources/org/servicemix/components/xsql/example.xml?rev=HEAD}

...