http://activemq.apache.org/camel/jaxb.html shows:

<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring";>
  <route>
    <from uri="direct:start"/>
    <unmarshal>
      <jaxb prettyPrint="true" contextPath="org.apache.camel.example"/>
    </unmarshal>
    <to uri="mock:result"/>
  </route>
</camelContext>


But the schema for the jaxb-tag shows:

<xs:element name="jaxb" type="tns:jaxbDataFormat"/>

  <xs:complexType name="jaxbDataFormat">
    <xs:complexContent>
      <xs:extension base="tns:dataFormatType">
        <xs:sequence/>
        <xs:attribute name="prettyPrint" type="xs:boolean"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>


So how am I supposed to enter the contextPath attribute?

A related question: What are people using? Java config or spring config? Is
everything supported, or supposed to be supported, in the spring config?

-- 

 /Magnus Heino

Reply via email to