Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-720

Enrich Mediator Sample

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Core
    • None

    Description

      Message Copying and Content Enriching with Enrich Mediator
      ------------------------------------------------------------------------------------

      Description:
      This sample uses enrich mediator do message copying and content enriching. The original IBM request is changed to MSFT using the enrich mediator. Also, the original payload and the symbol is stored as synapse properties. Once the reply comes to synapse, the 'lastTradeTimestamp' value of the response is added as a soap header (merely to show the enrich mediator functionalities). Also the request payload and request symbol values are logged in the out sequence.

      synapse:
      sh synapse.sh -sample 15

      service:
      SimpleStockQuoteService
      sh axis2server.sh

      client:
      ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuote

      Attachments

        1. enrich-documentation.patch
          6 kB
          Kasun Indrasiri
        2. enrich-sample.patch
          3 kB
          Kasun Indrasiri

        Activity

          People

            Unassigned Unassigned
            kasun.indrasiri Kasun Indrasiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: