Allow consumer to control whether UnitOfWorkProcessor should process 
synchronous only
-------------------------------------------------------------------------------------

                 Key: CAMEL-4625
                 URL: https://issues.apache.org/jira/browse/CAMEL-4625
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.0


Some components like FTP must process the consumer fully synchronous so the 
completion tasks is executed by the same thread as the consumer. This is 
because the FTP client is not thread safe and do not support another thread to 
process the completion.

For example when you do FTP -> async (eg NMR, Jetty, etc.)

The most flexible way of doing this is to allow a consumer to mark the exchange 
to be processed fully sync by the unit of work processor.
This can be done by an exchange property, the consumer can set on the created 
exchange.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to