[ https://issues.apache.org/activemq/browse/CAMEL-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2302. -------------------------------- Resolution: Fixed trunk: 892267. > 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: 1.6.2, 2.1.0 > Reporter: Charles Moulliard > Assignee: Claus Ibsen > Priority: Trivial > 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.