I'm not sure if this is a bug or typo or what :-)

I have a simple rest DSL configuration:

        restConfiguration()
                .component("jetty")
                .port(9097)
                .bindingMode(RestBindingMode.auto);

If I take out the binding mode, everything is interpretted as an
InputStream.  According to the documentation, this is the expected
behavior: http://camel.apache.org/rest-dsl.html

But then I look at the code, and it appears that the expected default is
auto.  Auto would make a lot more sense.

    @XmlAttribute @Metadata(defaultValue = "auto")
    private RestBindingMode bindingMode;

So which should be correct in this case?

John

Reply via email to