Hi Please double check according to the documentation http://camel.apache.org/stream-caching.html
The attribute is named streamCache in XML. Also the XSD contains the correct names etc. If you use a good editor it can assist you when editing XML files and help with auto completion and whatnot. On Wed, Sep 15, 2010 at 9:47 AM, Olivier.Roger <olivier.ro...@bsb.com> wrote: > > Claus, FallbackConverter seems to be something that could work indeed. > > However, when I implement the my converter that way I get this error > message: > > Caused by: java.lang.ClassCastException: > com.bsb.docgen.xml.notification.impl.NotificationTypeImpl cannot be cast to > org.apache.camel.StreamCache > > Accorindg to the online documentation > (http://camel.apache.org/stream-caching.html) the stream-caching feature is > disabled by default in Camel 2.0+ > > When I try to force disabling the feature by setting <route > streamCaching="false">, It appears to have been removed completely from the > XML Schema: > > Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute > 'streamCaching' is not allowed to appear in element 'route'. > > Any idea on how to solve this ? > -- > View this message in context: > http://camel.465427.n5.nabble.com/Converter-Generics-tp2839250p2840218.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus