[Users] How to send parameters to a POJO service ?

gibello pierre-yves.gibello at petalslink.com
Wed Mar 16 10:58:06 CET 2011


SpeedAlex wrote:
> Hello there,
> 
> I followed this guide (http://planet.petalslink.com/home/pygibello/2010/03/01/comment-utiliser-le-se-pojo-en-1-lecon/) to expose a POJO as a service.
> Works well but what if I need to send parameters to this POJO ?
> 
> Is it possible ?
> 
> Thanks,


Any "parameter" is either in the message content, or in the attachments.
So, just put something in the message, this is the parameter !

To retrieve it, the exchange provides methods (like "getInMessageContent()" and some other ones as well - the autocompletion of your Eclipse IDE will tell you more about that !)

------------------------
Pierre-Yves Gibello - PetalsLink




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=30921#30921

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/8b6c55ad/attachment.htm>


More information about the Users mailing list