Versions Compared

Key

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

Objective: Demonstrate the usage of the Event Mediator to publish messages to event topics.

Prerequisites
  • Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000.
  • Start ESB with the sample configuration : i.e. wso2esb-samples.sh -sn 460

...

1) Add an event topic. See Adding a New Topic.

1.1) Enter the name "stockquote" for the topic and click "Add Topic."

...

2) Create a subscription. See Adding a Subscription.

2.1) Enter the value "http://localhost:9000/services/SimpleStockQuoteService" in the "Event Sink URL" field and click "Subscribe."

...