On Tuesday, August 23, 2011 8:13:40 AM mymacin wrote:
> Could you please tell me , Is there any other transport which supports in
> different spring contexts?

Not at this time, no.     On option COULD be the coloc feature and some custom 
code.   I described much of it at:

http://cxf.547215.n5.nabble.com/Coloc-Tomcat-webapps-td3873140.html

The stuff about the classloaders probably doesn't apply in this case, but it 
may work for you.

Another option, if you would like to work on it and submit a patch, would be 
to update the LocalTransportFactory to allow the destinations Map  to be 
configured in and then you could somehow manage the map in a common place in 
your code.

Another option that might be interesting is to add a field to 
LocalTransportFactory like:

private static ConcurrentMap<String, Destination> staticDestinations 

and if the address looks like "local://MyGreeter?static=true" or  similar, the 
destination would be added to the static map.   The lookup of the conduit 
would need to look in both places.     The default would be to just put it in 
the  non-static map, but the uri param could be a good enhancement.

Dan


> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Local-Transport-MessageObserver-error-tp472
> 6603p4727129.html Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to