Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MEL Basics

Avatar for Abhi Abhi
June 11, 2015

MEL Basics

MEL Basics

Avatar for Abhi

Abhi

June 11, 2015
Tweet

More Decks by Abhi

Other Decks in Technology

Transcript

  1. AGENDA  Data Format  Raw Data  Structured Data

     Examples  MEL Basics  Accessing Properties  Topic for next session  Reference
  2. DATA FORMAT Different Types of Data Format -XML -JSON -Binary

    -CSV -Objects Application can have different type of data Mule takes care of converting them for you Can access specific data during message transmission
  3. RAW DATA -No Standard format -Optimal from performance point of

    view -Specific data access requires parting of it
  4. STRUCTURED DATA -In Memory presentation -Internally manages in structured manner

    -Structured data allows easy access of message properties
  5. SOME EXAMPLES -Raw Data -String -Input Stream -Byte Array -Structured

    Data -Map -Structured Java Object -XML -JSON
  6. MEL BASICS #[] • Encapsulate all mule expressions #[message] •

    Holds a context object #[message.payload] • Dot notation for accessing specific properties from message
  7. ACCESS PROPERTIES -Message.inboundProperties and message.outboundProperties are maps using which we

    can access inbound/outbound properties -You can never add inbound property -Outbound properties can be added/removed