synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: [jira] Created: (SYNAPSE-522) Enhance the Send mediator AND/OR Endpoints, to accept properties
Date Wed, 25 Mar 2009 09:11:38 GMT
Hi Charith
> 1 . Are we going to set these properties to the Synapse Message 
> Context ?If yes that means are we going to add a dependency of 
> Property Mediators  to Send mediator and Endpoint ?
Nope, what should happen here is the same "effect" as the property 
mediator. You will not have a code dependency to that.. since its just a 
couple of lines anyway.

i.e. the effect of

<send>
<property name="x" value|expression="y" scope="z"/>
...
</send>

would be the same effect as

<property name="x" value|expression="y" scope="z"/>
<send>
...
</send>
> 2. If we are going to put Property Mediators in Send and Endpoints we 
> have to call mediate(messagectx) in side that ? or how we are going 
> set those properties to the MessageContext?
>
> Is there a better way or any clarification  please suggest your feed back.
I think the 1st provides the answer here.. let me know if you have more 
questions

cheers
asankha

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message