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 (JIRA)" <ji...@apache.org> on 2009/05/25 15:20:50 UTC

[jira] Created: (CAMEL-1647) Producer Pool - Add a producer pool for connection pooling capabilities

Producer Pool - Add a producer pool for connection pooling capabilities
-----------------------------------------------------------------------

                 Key: CAMEL-1647
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1647
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.0-M1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.0.0


With CAMEL-1644 some components such as: Mina, FTP has producers that are not singleton scoped. And thus a new producer is used when the send a message to the give endpoint.

What is needed now is a pool for producers so we can reuse producers that are already connected to the given endpoint.
For FTP that is a FTP producer that has established a connection to the remote FTP server. Likewise for Mina.

We should also add options to configure the pool size, and the producers in general should be able to reconnect. However they can already do that.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1647) Producer Pool - Add a producer pool for connection pooling capabilities

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51908#action_51908 ] 

Claus Ibsen commented on CAMEL-1647:
------------------------------------

First cut committed: 778715

It needs a bit more unit test covering for odd situations and stress.

And please review the pool implementation.

> Producer Pool - Add a producer pool for connection pooling capabilities
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-1647
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1647
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> With CAMEL-1644 some components such as: Mina, FTP has producers that are not singleton scoped. And thus a new producer is used when the send a message to the give endpoint.
> What is needed now is a pool for producers so we can reuse producers that are already connected to the given endpoint.
> For FTP that is a FTP producer that has established a connection to the remote FTP server. Likewise for Mina.
> We should also add options to configure the pool size, and the producers in general should be able to reconnect. However they can already do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (CAMEL-1647) Producer Pool - Add a producer pool for connection pooling capabilities

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

Work on CAMEL-1647 started by Claus Ibsen.

> Producer Pool - Add a producer pool for connection pooling capabilities
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-1647
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1647
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> With CAMEL-1644 some components such as: Mina, FTP has producers that are not singleton scoped. And thus a new producer is used when the send a message to the give endpoint.
> What is needed now is a pool for producers so we can reuse producers that are already connected to the given endpoint.
> For FTP that is a FTP producer that has established a connection to the remote FTP server. Likewise for Mina.
> We should also add options to configure the pool size, and the producers in general should be able to reconnect. However they can already do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1647) Producer Pool - Add a producer pool for connection pooling capabilities

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51928#action_51928 ] 

Claus Ibsen commented on CAMEL-1647:
------------------------------------

ServicePool is now SPI: 779038.

> Producer Pool - Add a producer pool for connection pooling capabilities
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-1647
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1647
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> With CAMEL-1644 some components such as: Mina, FTP has producers that are not singleton scoped. And thus a new producer is used when the send a message to the give endpoint.
> What is needed now is a pool for producers so we can reuse producers that are already connected to the given endpoint.
> For FTP that is a FTP producer that has established a connection to the remote FTP server. Likewise for Mina.
> We should also add options to configure the pool size, and the producers in general should be able to reconnect. However they can already do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1647) Producer Pool - Add a producer pool for connection pooling capabilities

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

Claus Ibsen resolved CAMEL-1647.
--------------------------------

    Resolution: Fixed

Added wiki documentation:

http://cwiki.apache.org/confluence/display/CAMEL/ServicePool


> Producer Pool - Add a producer pool for connection pooling capabilities
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-1647
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1647
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> With CAMEL-1644 some components such as: Mina, FTP has producers that are not singleton scoped. And thus a new producer is used when the send a message to the give endpoint.
> What is needed now is a pool for producers so we can reuse producers that are already connected to the given endpoint.
> For FTP that is a FTP producer that has established a connection to the remote FTP server. Likewise for Mina.
> We should also add options to configure the pool size, and the producers in general should be able to reconnect. However they can already do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.