I don't know enough of the servicemix-http code to answer your question, but I 
can tell that I have used Camel HTTP and Jetty endpoints to do something like 
what you describe. They can have thread-local URLS based on message headers. 

---
A. Soroka
Online Library Environment
the University of Virginia Library




On Oct 28, 2011, at 8:32 AM, Raidwan wrote:

> Hi all,
> 
> I'm using servicemix-http 2010.01, but i think it's the same in new version:
> if i read correctly the servicemix source code, the instance of a marshaler
> is unique for the endpoint instance.
> 
> In this case when we change the URI in the marshaler depending of the
> message content we should have some multi-thread problems. Some message will
> be sent to a bad URI...
> 
> Any idea? suggestions?
> 
> Perhaps the mashaler instance has to be threadlocal in the endpoint...
> 
> Regards,
> 
> Raid
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/HttpProviderMarshaler-change-URI-in-Multithread-tp4945793p4945793.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to