The producer takes in a "serializer.class" config that it uses to serialize data sent by the Producer. A Producer instance is tied to the type of data it is sending, so you won't be able to send data belonging to diverse types using the same Producer object.
Thanks, Neha On Mon, Aug 20, 2012 at 8:02 AM, will martin <wmartin...@gmail.com> wrote: > This use case is defined by the following snippet from the Design section > of the doc pages. > > class Producer { > > public void send (ProducerData) > > public void send (List<ProducerData>) > > public void close() > } > > I've tried various composites for the List<ProducerData> argument, > including strings and Messages. All of these throw serialization errors > deep in the engine. > > Is the list form of send supported in 7.1? > > Thanks in advance, > mmartin