Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
3.17. RuleBase Example
In this example, there is an XML message containing a collection of order items. (This functionality works similarly for all other data formats supported by Smooks.):
<Order> <header> <orderId>A188127</orderId> <username>user1</username> <name> <firstname>Bob</firstname> <lastname>Bobington</lastname> </name> <email>bb@awesomemail.com</email> <state>Queensland</state> </header> <order-item> <quantity>1</quantity> <productId>364b</productId> <title>A Great Movie</title> <price>29.95</price> </order-item> <order-item> <quantity>2</quantity> <productId>299</productId> <title>A Terrible Movie</title> <price>29.95</price> </order-item> </Order>