camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Created: (CAMEL-3752) ExchangeBuilder
Date Fri, 04 Mar 2011 11:49:36 GMT

                 Key: CAMEL-3752
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.6.0
            Reporter: Claus Ibsen
             Fix For: 3.0.0

We should add an {{ExchangeBuilder}} so you can use the builder pattern to create an Exchange
and set message body, headers etc.

Something along the lines like this. Maybe there is a shorter and nicer API to do it:
Exchange exchange = ExchangeBuilder(context).withBody("Hello World).andHeader("foo", 123).build("activemq:queue:foo");

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message