[
https://wso2.org/jira/browse/ESBJAVA-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19621#action_19621
]
Dinuka Roshan Arseculeratn commented on ESBJAVA-569:
----------------------------------------------------
Hi Chris,
Let me give you a small example to better illustrate my point earlier. So say
you have multiple sequences defined. If you do not want them in the same
configuration file then you can put them in a registry and use them as follows;
<registry provider="org.apache.synapse.registry.url.SimpleURLRegistry">
<parameter
name="root">file:./repository/conf/sample/resources/</parameter>
<parameter name="cachableDuration">15000</parameter>
</registry>
<sequence key="sequence/dynamic_seq_1.xml"/>
So doing this way you can have your sequences defined in multiple files and put
them in the 'sequence' folder and reuse them with a reference as done above and
then you only need to delete/edit that one line than remove complete sequences
off the main configuration. check [1] for further clarification.
[1] http://wso2.org/project/esb/java/1.7.1/docs/ESB_Samples.html#Sample9
Regards,
Dinuka
> Mediators of a Sequence should be able to be deactivated / activated
> ---------------------------------------------------------------------
>
> Key: ESBJAVA-569
> URL: https://wso2.org/jira/browse/ESBJAVA-569
> Project: WSO2 ESB
> Issue Type: Improvement
> Components: Administration Console, Core Engine, Documentation
> Affects Versions: 1.7.1
> Environment: Linux / Windows
> Reporter: Christian Brennsteiner
> Assignee: Asankha Perera
> Priority: High
> Original Estimate: 4 days
> Remaining Estimate: 4 days
>
> When dealing with larger sequences (not wanting to include seq into seq into
> seq ...) it should be possible especially for testing / development to turn
> ON and OFF Mediators for test purposes. (activate / deactivate)
> nowadays we tend to delete mediators and add them after a while and so
> forth...
> this produces some errors becaus of always copy and pasting mediators / parts
> of sequences.
> regards chris
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-dev