hello,
i'm new to synapse and i've the following example on this list but i
cannot find anywhere a documentation relating to the roleBasedRouting
mediator.
what do i miss?
best regards
<syn:proxy name="GooglemapsProxy" transports="https http"
startOnLoad="true" statistics="enable" trace="enable"
onError="myFaultHandler">
<syn:target>
<syn:inSequence>
<syn:log level="full" separator=","/>
<syn:roleBasedRouting>
<!-- possible values are: http-header,
ws-security -->
<syn:authentificationType>
ws-security
</syn:authentificationType>
<!-- possible values are: jdbc, ldap,
acegi-security !!!ONLY IMPLEMENTED JDBC!!!-->
<syn:realm type="jdbc">
<syn:driverurl>
jdbc:derby:UserDatabase;create=true
</syn:driverurl>
<syn:drivername>
org.apache.derby.jdbc.EmbeddedDriver
</syn:drivername>
<syn:username>wso2esb</syn:username>
<syn:password>wso2esb</syn:password>
</syn:realm>
</syn:roleBasedRouting>
<syn:header name="wsse:Security" action="remove"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
<syn:log level="full" separator=","/>
<syn:send>
<syn:endpoint key="endpoints/googlemaps_endpoint.xml"/>
</syn:send>
</syn:inSequence>
<syn:outSequence>
<syn:log level="full" separator=","/>
<syn:send/>
</syn:outSequence>
</syn:target>
<syn:publishWSDL key="WSDL/GoogleMapsService.wsdl"/>
<syn:policy key="policy/policy_1.xml"/>
<syn:enableSec/>
</syn:proxy>