Ruwan
In the same way we define these registry entries, it is possible to
define all our defined (named) sequences, endpoints as local in line
registry entries. If we go in to this approach we can drop the
definitions tag because now all of the definitions are registry entries.
I would like to do this too, but the problem is you will not be
explicitly stating whether a registry-entry is a sequence, endpoint etc...
So what if we do this:
<synapse>
<registry>
<parameter ..... remote registry definition
parameters........ />*
<registry-entry key="string" [src="url"]> string? |
<inline-xml/>? <registry-entry/>*
</registry>?
<proxy-service name="string" [transports="(http |https |jms
)+|all"]>.... </proxy-service>*
<sequence ....>+
<endpoint ...>*
</synapse>
I am also proposing that we have a special sequence named "main" (like
the Java/C main method) to replace the <rules..>, and at the same time
introduce another sequence named "error" (or something better if someone
would like to propose) that will get called on any un-handled error
conditions.
asankha
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]