You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2009/03/19 10:13:50 UTC
[jira] Created: (SYNAPSE-522) Enhance the Send mediator AND/OR
Endpoints, to accept properties
Enhance the Send mediator AND/OR Endpoints, to accept properties
----------------------------------------------------------------
Key: SYNAPSE-522
URL: https://issues.apache.org/jira/browse/SYNAPSE-522
Project: Synapse
Issue Type: Improvement
Components: Core
Affects Versions: 1.2
Reporter: Asankha C. Perera
Priority: Minor
Fix For: 1.3
Reference to http://markmail.org/message/cvbfh2wpapn2yt6u
support the specifications of one or more properties within the send mediator e.g. FORCE_HTTP_1.0, POST_TO_PATH etc would belong with the send mediator, while format, passwords etc may belong as endpoint properties
<send>
<property name="BUILD_ENVELOPE" value="true"/>
<... other such properties.../>
<endpoint ...../>
</send>
OR/AND
<send>
<endpoint ....>
<property name="BUILD_ENVELOPE" value="true"/>
<... other such properties.../>
</endpoint>
</send>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Re: [jira] Created: (SYNAPSE-522) Enhance the Send mediator AND/OR
Endpoints, to accept properties
Posted by "Asankha C. Perera" <as...@apache.org>.
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
Re: [jira] Created: (SYNAPSE-522) Enhance the Send mediator AND/OR
Endpoints, to accept properties
Posted by Charith Wickramarachchi <ch...@gmail.com>.
Hi Asankha,
I got a problem in My mind when trying to implement this feature.My be i
miss understood the what you mean.
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 ?
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.
thank you,
Charith
On Thu, Mar 19, 2009 at 2:43 PM, Asankha C. Perera (JIRA)
<ji...@apache.org>wrote:
> Enhance the Send mediator AND/OR Endpoints, to accept properties
> ----------------------------------------------------------------
>
> Key: SYNAPSE-522
> URL: https://issues.apache.org/jira/browse/SYNAPSE-522
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2
> Reporter: Asankha C. Perera
> Priority: Minor
> Fix For: 1.3
>
>
> Reference to http://markmail.org/message/cvbfh2wpapn2yt6u
>
> support the specifications of one or more properties within the send
> mediator e.g. FORCE_HTTP_1.0, POST_TO_PATH etc would belong with the send
> mediator, while format, passwords etc may belong as endpoint properties
>
> <send>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> <endpoint ...../>
> </send>
>
> OR/AND
>
> <send>
> <endpoint ....>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> </endpoint>
> </send>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>
--
Charith Dhanushka Wickramarachchi
http://charithwiki.blogspot.com/
[jira] Assigned: (SYNAPSE-522) Enhance the Send mediator AND/OR
Endpoints, to accept properties
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka reassigned SYNAPSE-522:
-------------------------------------------
Assignee: Ruwan Linton
I think this is already supported in the trunk. Ruwan, please confirm.
> Enhance the Send mediator AND/OR Endpoints, to accept properties
> ----------------------------------------------------------------
>
> Key: SYNAPSE-522
> URL: https://issues.apache.org/jira/browse/SYNAPSE-522
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2
> Reporter: Asankha C. Perera
> Assignee: Ruwan Linton
> Priority: Minor
> Fix For: 2.0
>
> Attachments: synapse-522-2009-04-3.patch
>
>
> Reference to http://markmail.org/message/cvbfh2wpapn2yt6u
> support the specifications of one or more properties within the send mediator e.g. FORCE_HTTP_1.0, POST_TO_PATH etc would belong with the send mediator, while format, passwords etc may belong as endpoint properties
> <send>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> <endpoint ...../>
> </send>
> OR/AND
> <send>
> <endpoint ....>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> </endpoint>
> </send>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Updated: (SYNAPSE-522) Enhance the Send mediator AND/OR
Endpoints, to accept properties
Posted by "Charith Dhanushka Wickramarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charith Dhanushka Wickramarachchi updated SYNAPSE-522:
------------------------------------------------------
Attachment: synapse-522-2009-04-3.patch
This patch enable users to set generic properties inside send mediator and endpoints
please review and commit
thank you,
Charith
> Enhance the Send mediator AND/OR Endpoints, to accept properties
> ----------------------------------------------------------------
>
> Key: SYNAPSE-522
> URL: https://issues.apache.org/jira/browse/SYNAPSE-522
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2
> Reporter: Asankha C. Perera
> Priority: Minor
> Fix For: 1.3
>
> Attachments: synapse-522-2009-04-3.patch
>
>
> Reference to http://markmail.org/message/cvbfh2wpapn2yt6u
> support the specifications of one or more properties within the send mediator e.g. FORCE_HTTP_1.0, POST_TO_PATH etc would belong with the send mediator, while format, passwords etc may belong as endpoint properties
> <send>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> <endpoint ...../>
> </send>
> OR/AND
> <send>
> <endpoint ....>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> </endpoint>
> </send>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Resolved: (SYNAPSE-522) Enhance the Send mediator AND/OR
Endpoints, to accept properties
Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruwan Linton resolved SYNAPSE-522.
----------------------------------
Resolution: Fixed
This has been fixed for the 2.0 release with the properties support for endpoint
> Enhance the Send mediator AND/OR Endpoints, to accept properties
> ----------------------------------------------------------------
>
> Key: SYNAPSE-522
> URL: https://issues.apache.org/jira/browse/SYNAPSE-522
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2
> Reporter: Asankha C. Perera
> Assignee: Ruwan Linton
> Priority: Minor
> Fix For: 2.0
>
> Attachments: synapse-522-2009-04-3.patch
>
>
> Reference to http://markmail.org/message/cvbfh2wpapn2yt6u
> support the specifications of one or more properties within the send mediator e.g. FORCE_HTTP_1.0, POST_TO_PATH etc would belong with the send mediator, while format, passwords etc may belong as endpoint properties
> <send>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> <endpoint ...../>
> </send>
> OR/AND
> <send>
> <endpoint ....>
> <property name="BUILD_ENVELOPE" value="true"/>
> <... other such properties.../>
> </endpoint>
> </send>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org