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.

Reply via email to