camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-2618) camel-cxf - Do not use ProducerTemplate internally to send to same destination
Date Tue, 06 Apr 2010 12:55:08 GMT
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.


Mime
View raw message