Hi John,

The easiest way to achieve this would be to write a class mediator [1] and
then using it in the synapse configuration. You can use a PayloadFactory
Mediator [2] to create the custom payload. So there will be no need for
creating the custom payload and invoking a sequence from inside the custom
mediator.

[1]. https://docs.wso2.com/display/ESB490/Class+Mediator
[2]. https://docs.wso2.com/display/ESB490/PayloadFactory+Mediator

Thanks,
Harshan

Harshan Liyanage
Software Engineer
Mobile: *+94724423048*
Email: [email protected]
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.

On Wed, Jan 13, 2016 at 1:26 AM, John Q <[email protected]> wrote:

> Hello,
> Can any body tell me how can I create a custom payload and invoke a
> sequence from a custom mediator?
>
> thanks,
> john
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to