[ 
https://issues.apache.org/jira/browse/CAMEL-10879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878222#comment-15878222
 ] 

Ralf Steppacher commented on CAMEL-10879:
-----------------------------------------

So what about the first suggestion. Camel core comes with a thread-safe 
implementation built in, and the integrator can choose between thread safe or 
not by means of a route attribute? Or something alike?

> Add option for thread safe Exchange implementation
> --------------------------------------------------
>
>                 Key: CAMEL-10879
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10879
>             Project: Camel
>          Issue Type: Wish
>          Components: camel-core
>    Affects Versions: 2.18.2
>            Reporter: Ralf Steppacher
>
> The current implementation of the {{org.apache.camel.Exchange}} is not thread 
> safe. For routes that employ custom, multi-threaded processors with 
> concurrent access to the exchange, it would be beneficial to be able to 
> request a thread-safe exchange implementation.
> OR
> A factory mechanism that would allow 3rd parties to contribute an 
> implementation of the exchange interface that suits their specific needs. 
> Thread safety or other. (For this, the current implementation of 
> {{DefaultExchange}} should be reviewed and optimized for sub-classing.)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to