pass parameter

I have a problem. I am new with Mediator and I would like to do the next:

I have a secuence and a java method with some params in it. I would like to know how can I extract the values of my params from a payload for to pass them to my method in the secuence.

Thanks for the help