ProducerTemplate --> add new method : requestBodyAndHeader(Object body, String 
header, Object headerValue); ...
---------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-2302
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2302
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.1.0, 1.6.2
            Reporter: Charles Moulliard
             Fix For: 2.2.0


The ProducerTemplate allows to send a body object to the exchange without 
defining the endpoint because we have define it through

    @EndpointInject(uri = "queuingservice:queue:inout")
    ProducerTemplate producer;

  void sendBody(Object body);
  void sendBodyAndHeader(Object body, String header, Object headerValue);

 but this is not the case for request

 Object requestBodyAndHeader(Endpoint endpoint, Object body, String header, 
Object headerValue);

-- 
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