You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by MD...@symcor.com on 2006/05/25 19:02:19 UTC

Clarification on the POJO Example

Hi,

In the pojo sample given in the link below how is the sendMessage(..) 
method invoked. 

http://servicemix.org/site/pojo-support.html

If there is an requirement to call a method of a class through the 
invokation of an activated endpoint, is that achievable. 
Regards
Mat


Re: Clarification on the POJO Example

Posted by Eric Dofonsou <ew...@yahoo.com>.
would think that the send message is called by you
calling client (ie : in the case of a web endpoint
when you receive a call from the client you send the
client message to the bus by calling the sendMessage
method of your POJO.).

Could you please provide more information for the
second normaly all calls are based on a triggers that
are provided by the BUS ?  You can put your POJO
method in one of the interface method.  Depending on
when you want you methode called.

--- MDavid@symcor.com wrote:

> Hi,
> 
> In the pojo sample given in the link below how is
> the sendMessage(..) 
> method invoked. 
> 
> http://servicemix.org/site/pojo-support.html
> 
> If there is an requirement to call a method of a
> class through the 
> invokation of an activated endpoint, is that
> achievable. 
> Regards
> Mat
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com