title: Camel setBody using Spring configuration
body: <p><br/>
  I have built a Java Camel Timer-JMS route using:</p>
  
  <pre><code>context.addRoutes(new RouteBuilder() {
     public void configure() {
      from("timer:foo?period=1s").setBody(body().
         append("Message at ${date:now:yyyy-MM-dd HH:mm:ss}")).to("jms:queue:activemq/queue/TestQueue");
     }
  });
  </code></pre>
  
  <p>Now I need to turn it to Spring. </p>
  
  <pre><code>&lt;camel:route&gt;
      &lt;camel:from uri="timer:foo?period=1s" /&gt;
      &lt;camel:to uri="jms:queue:activemq/queue/TestQueue" /&gt;
  &lt;/camel:route&gt;
  </code></pre>
  
  <p>I'm missing the equivalent in Spring XML configuration of the expression:</p>
  
  <pre><code>setBody(body().append("Message at ${date:now:yyyy-MM-dd HH:mm:ss}")
  </code></pre>