You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2011/11/06 12:06:51 UTC

[jira] [Created] (CAMEL-4625) Allow consumer to control whether UnitOfWorkProcessor should process synchronous only

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

        

[jira] [Resolved] (CAMEL-4625) Allow consumer to control whether UnitOfWorkProcessor should process synchronous only

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4625.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.3
    
> 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.8.3, 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