Should / Can the POJO implement ManagedLifecycle to get the Synapse Environment to get the MesageContext?
kimhorn wrote: > > Does any one have a Java example of a POJOCommand that uses Message > Context. > Unclear how you access it from execute method ? > > Background to this is in "Java Class Properties Setting" item, including > the Java > code. > > Basically it was recomended to convert this from a Mediator to a POJO but > not > sure it can be done ? > > > > -- View this message in context: http://www.nabble.com/Accessing-Message-Context-in-POJOCommand-tp22425548p22426517.html Sent from the Synapse - User mailing list archive at Nabble.com.
