camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4625) Allow consumer to control whether UnitOfWorkProcessor should process synchronous only
Date Sun, 06 Nov 2011 11:06:51 GMT
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

        

Mime
View raw message