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 2010/04/15 12:58:43 UTC

[jira] Created: (CAMEL-2649) FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid

FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid
-----------------------------------------------------------------------------------

                 Key: CAMEL-2649
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2649
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 2.2.0, 1.6.2
            Reporter: Claus Ibsen
             Fix For: 1.6.3, 2.3.0


You want the {{ProducerTemplate}} with the assigned id to be a singleton scoped instance, so its shared.

Currently it creates a new instance which it should not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CAMEL-2649) FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid

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

Claus Ibsen commented on CAMEL-2649:
------------------------------------

Also only singleton beans should be added to the CamelContext servicesToClose when using @Produce / @Consume

> FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-2649
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2649
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 1.6.2, 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.6.3, 2.3.0
>
>
> You want the {{ProducerTemplate}} with the assigned id to be a singleton scoped instance, so its shared.
> Currently it creates a new instance which it should not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (CAMEL-2649) FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid

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

Claus Ibsen reassigned CAMEL-2649:
----------------------------------

    Assignee: Claus Ibsen

> FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-2649
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2649
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 1.6.2, 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.6.3, 2.3.0
>
>
> You want the {{ProducerTemplate}} with the assigned id to be a singleton scoped instance, so its shared.
> Currently it creates a new instance which it should not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CAMEL-2649) FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid

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

Claus Ibsen updated CAMEL-2649:
-------------------------------

    Affects Version/s:     (was: 1.6.2)

> FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-2649
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2649
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> You want the {{ProducerTemplate}} with the assigned id to be a singleton scoped instance, so its shared.
> Currently it creates a new instance which it should not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (CAMEL-2649) FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid

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

Claus Ibsen resolved CAMEL-2649.
--------------------------------

    Fix Version/s:     (was: 1.6.3)
       Resolution: Fixed

trunk: 934375, 934376.

This was not a problem in 1.x

> FactoryBeans for ProducerTemplate and ConsumerTemplate should be singleton to avoid
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-2649
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2649
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> You want the {{ProducerTemplate}} with the assigned id to be a singleton scoped instance, so its shared.
> Currently it creates a new instance which it should not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira