camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen">
Subject RE: [VOTE] Release apache-camel-1.4
Date Sun, 13 Jul 2008 12:14:24 GMT

Damm we have a candidate for a blocker. See CAMEL-713.
Voting: -1

Basically if your exchanges are Out capable - eg InOut then you can not route to a file producer
and expect it to save a file, instead it will do the opposite and try to consume!

I had this route:
       private static OutputReportIncident OK = new OutputReportIncident();



That didn't save the content from the velocity generation to a file. It doesn't matter if
I have the "seda" included or not.

The exchange is from CXF that is InOut capable and therefore we have the issue with CAMEL-713.

To summarize. This unit test does not work as expected in Camel 1.4:

public class FileMEPInOutTest extends ContextTestSupport {

    public void testMEPInOutTest() throws Exception {
        MockEndpoint mock = getMockEndpoint("mock:result");
        mock.expectedBodiesReceived("Hello World");

        // request is InOut
        template.requestBodyAndHeader("direct:in", "Hello World", FileComponent.HEADER_FILE_NAME,

        // give Camel time to create the file

        File file = new File("target/FileMEPInOutTest.txt");
        file = file.getAbsoluteFile();
        assertEquals("Hello World", IOConverter.toString(file));


    protected RouteBuilder createRouteBuilder() throws Exception {
        return new RouteBuilder() {
            public void configure() throws Exception {


Med venlig hilsen
Claus Ibsen
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
-----Original Message-----
From: Hadrian Zbarcea [] 
Sent: 12. juli 2008 05:03
Subject: [VOTE] Release apache-camel-1.4

This is a vote to release camel 1.4

A new Camel 1.4 is ready.  Another fantastic community effort with 231  
issues fixed.
Many thanks for all the hard work!

The staging area is at:

The tarballs are here:

Please vote to approve this release binary.  The vote will be open for  
at least 72 hours.

[ ] +1 Release the binary as Apache Camel 1.4.0
[ ] -1 Veto the release (provide specific comments)

Here's my +1

View raw message