You can inject optional parameters as required using enrich mediator as
mentioned by Indika.

So you can create the initial payload and use enrich for optional
parameters.

Best Regards,
Malaka


On Mon, Jan 27, 2014 at 7:24 AM, indika prasad <[email protected]> wrote:

> You could be able to modify the payload using enrich mediator. Here is the
> nice example [1]  for payload modification.
>
> [1]
>
> http://mrmalakasilva.blogspot.com/2013/04/use-of-enrich-mediator-to-modify-payload.html
>
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/remove-empty-parameters-from-payload-http-post-json-tp91243p91254.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to