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/06 14:55:08 UTC

[jira] Created: (CAMEL-2618) camel-cxf - Do not use ProducerTemplate internally to send to same destination

camel-cxf - Do not use ProducerTemplate internally to send to same destination
------------------------------------------------------------------------------

                 Key: CAMEL-2618
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2618
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-cxf
    Affects Versions: 2.2.0
            Reporter: Claus Ibsen
            Priority: Minor


CamelConduit and other classes (search for usage of ProducerTemplate) in camel-cxf should not be used.

You are sending to the *same* endpoint uri, and therefore just create a Producer from the endpoint uri and use it.
Using ProducerTemplate will have a cache pool under the covers which is not used/needed at all. 

This is plain overkill. 


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


[jira] Resolved: (CAMEL-2618) camel-cxf - Do not use ProducerTemplate internally to send to same destination

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

Willem Jiang resolved CAMEL-2618.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

> camel-cxf - Do not use ProducerTemplate internally to send to same destination
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-2618
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2618
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> CamelConduit and other classes (search for usage of ProducerTemplate) in camel-cxf should not be used.
> You are sending to the *same* endpoint uri, and therefore just create a Producer from the endpoint uri and use it.
> Using ProducerTemplate will have a cache pool under the covers which is not used/needed at all. 
> This is plain overkill. 

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


[jira] Assigned: (CAMEL-2618) camel-cxf - Do not use ProducerTemplate internally to send to same destination

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

Willem Jiang reassigned CAMEL-2618:
-----------------------------------

    Assignee: Willem Jiang

> camel-cxf - Do not use ProducerTemplate internally to send to same destination
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-2618
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2618
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>
> CamelConduit and other classes (search for usage of ProducerTemplate) in camel-cxf should not be used.
> You are sending to the *same* endpoint uri, and therefore just create a Producer from the endpoint uri and use it.
> Using ProducerTemplate will have a cache pool under the covers which is not used/needed at all. 
> This is plain overkill. 

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