Hi all,

I'm using Synapse 1.1 and I need some features that I think there are generic 
enough so as to add them to the core. If some of them exists please tell me how 
to do.

1) Load local entries resources from classpath
When defining a localEntry the src attribute specifies a resource from a URL. 
It would be useful to load the resources from classpath using something like 
(spring) src="classpath:someFile.xml".

2) Possibility to load spring beans before Synapse mediation
At this moment SpringMediator creates the Spring application context at the 
first time it mediates a message. This can be expensive (is my case) due to 
resources creation (DB connections, etc.). For this I think it would be 
necessary to add the possibility to load the spring configuration at the 
SpringMediator creation.

    <spring:spring bean="exampleBean1" key="string" 
loadContextOnStartup="true"/>

3) Pass the SynapseException through the Synapse context
I've seen that SynapseMessageReciver captures SynapseException and handles it 
with a FaultHandler. FaultHandler takes the exception message and stacktrace 
and puts it into the synapse context. I think it would be useful to put the 
exception into the synapse context so as to retrieve it from a custom mediator 
in a fault sequence and do a better handling.

What do you think?

Jose






       
______________________________________________ 
¿Chef por primera vez?
Sé un mejor Cocinillas. 
http://es.answers.yahoo.com/info/welcome

Reply via email to