Saturday, July 28, 2012

How to write a custom dispatcher for WSO2 ESB

Create a maven project and add following dependencies to the pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""

The new dispatcher will be 'CustomDispatcher'.

Write your own dispatcher (Get an idea about the )

Copy it to [WSO2_ESB_Installation]/repository/components/lib and restart ESB.

Include the following in the axis2.xml. It should be inserted in to the dispatch phase of the In-Flow of the ESB. It should be the first handler in the Dispatch phase.

 <handler name="CustomDispatcher"

No comments:

Post a Comment

Popular Posts



Achala Chathuranga's Blog Headline Animator