The AggregationRepository do not only store the in message (your xml payload). It also stores the exchange properties and message headers. That's the reason why... If this doesn't fit your needs, you can implement your own AggregationRepository by implementing org.apache.camel.spi.AggregationRepository.
Best, Christian On Fri, Sep 7, 2012 at 10:43 PM, AlanFoster <a...@alanfoster.me> wrote: > Hi All > > I am currently using camel's sql-component in order to define a > aggregationRepositoryRef for the aggregator component. > > The aggregator currently stores all of the information in the Aggregator > table as a BLOB. Is there a way to change this? > > The documentation here > > http://camel.apache.org/sql-component.html#SQLComponent-Codec%28Serialization%29 > says "Since they can contain any type of payload, Exchanges are not > serializable by design. It is converted into a byte array to be stored in a > database BLOB field." > > As I know my aggregator's payloads will always be XML I wonder if there is > anyway to store the information in the database as XML rather than an > unreadable BLOB? > > Could anyone shed some light on whether or not this is possible please? :) > > Thanks > Alan > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Change-Sql-Component-BLOB-datatype-to-XML-for-Aggregator-serialization-tp5718845.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --