Hi devs,

Say I have a Synapse task which implements the ManagedLifeCycle interface.

Public class TestTask implements Task, ManagedLifeCyle {
  public void init(SynapseEnvironment se){
  }
  public void execute() {
  }
}

Synapse triggers the task as specified in the synapse.xml.  This init()
method is always invoked when the task is triggered. Is this the expected
behaviour?

Thanks
Sameera
-- 
Sameera Jayasoma
Technical Lead
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org

Reply via email to