13.3.14. Use SmooksAction to Process XML, EDI, CSV and "Other Type" Message Payloads

Procedure 13.1. Task

  1. Supply a source message. It must be one of the following:
    • String,
    • InputStream,
    • Reader, or
    • byte array
  2. Configure Smooks (via the Smooks configuration file, not the Enterprise Service Bus configuration file) for processing the message type in question. For example, configure a parser if you are not dealing with an XML Source (such as EDI or CSV).