Versions Compared

Key

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

...

The route below illustrates we execute the consumeAccount statement data is processed. This allows us to change the status of the row in the database to processed, so we avoid consuming it twice or more. ID 1

Wiki Markup
{snippet:id=e1|lang=java|url=camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java}

And the statements in the sqlmap file:
ID 1
ID 2

Wiki Markup
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-ibatis/src/test/resources/org/apache/camel/component/ibatis/Account.xml}
Wiki Markup
{snippet:id=e2|lang=xml|url=camel/trunk/components/camel-ibatis/src/test/resources/org/apache/camel/component/ibatis/Account.xml}
Include Page
CAMEL:Endpoint See Also
CAMEL:Endpoint See Also