JMS scenario logic

[INDENT]anyone plz help me this scenario…I am new to JMS…

publishing service sends one document to JMS topic…like two numbers…subscribing service receives this document and performs addition and gives back result to publishing service…i have to use sendandwait service…how to configure the parameters in flow-step pub.jms.sendandwait…and pub.jms.reply in sub part…

plz tell me steps…and how to configure JMS message…i created topic and trigger also…any kind-hearted person provide publishing service with steps and subscribing service with steps…

Thank You… [/INDENT]