Hi Devs,

In WSO2 ESB , I am using a Class Mediator which returns me a "string" as a
message which I store say in a Log Mediator. Is there any way possible that
I can store this Log message in a Registry File in my EI.

Sample Code:-

<proxy name="StringGenerator-Execution-Proxy" startOnLoad="true"
transports="http https" xmlns="http://ws.apache.org/ns/synapse";>
    <target>
        <inSequence>
           <class description="String-Generator"
name="com.rocky.StringGenerator"/>
            <log description="String-Display-Log" level="custom">
                <property expression="get-property('sampleProperty')"
name="String-Generation-from-Java-Class"/>
            </log>
            <respond/>
        </inSequence>
        <outSequence/>
        <faultSequence/>
    </target>
</proxy>

I want to Store the message inside "sampleProperty" in a Registry in EI.
Help would be really appreciated.

Thank you,
Aman
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to