(previous email)
David Brossard, MEng
Research Professional, Security Research
Centre
BT Group Chief Technology Office
___________________________
pp2A
Rigel
House
Adastral Park
Martlesham Heath
Ipswich
Suffolk IP5 3RE
United Kingdom
Office:
01473 642930
Mobile: 07906
692612
Fax : 01473 649546
Email: [EMAIL PROTECTED]
British Telecommunications plc
Registered office: 81
Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains
information from British Telecommunications plc which may be privileged or
confidential. The information is intended to be for the use of the individual(s)
or entity named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this information is
prohibited. If you have received this electronic message in error, please notify
us by telephone or email (to the numbers or address above)
immediately.
Activity and use of the British Telecommunications plc email system is monitored to secure its effective operation and for other lawful business purposes. Communications using this system will also be monitored and may be recorded to secure effective operation and for other lawful business purposes.
From: Saminda Abeyruwan [mailto:[EMAIL PROTECTED]
Sent: 07 February 2006 10:50
To: [email protected]
Subject: Improving the way we do references
Current implementation of Synapse, we could have two types of mediators.
1.IN-LINE mediators
2.REFERENCE mediators
In-line mediators have the following syntax
<foo name="fooMediator" parm1="dosomething1" parm2="dosomething2"../>
In-line mediators have always get executed and need NOT to have @name. So following syntax should have been appropriate for in-line mediators.
<foo parm1="dosomething1" parm2="dosomething2"../>
<never/> tag is used to hold a set of mediators that is not going to execute directly. Those mediators have to be referenced by a in-line mediator. As the <never/> tags holds a list of mediators that can be referenced, lets replace this by <define/>.
<define/> has the following syntax
<define name="name_of_define_mediator">
<mediator1/>
...
...
<mediatorN/>
</define>
So any in-line mediator can call the <define/>'s @name to get it execute. So there can be any number of <define/> tags exists in synapse.xml.
Lookup for the <define/> tag can be done with <ref/> tag and these references will be stored in our good old SynapseEnvironment.
<define/> tags can be referenced either in IN or OUT path. We need a clear distinction of IN and OUT.
Please be kind enough to express your consensus on prior.
Thank you
Saminda
err_sample1
Description: err_sample1
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
