Project: springxd
Issue XD-3247: Support transparent boxing/unboxing of Tuples (or other containers)
Working with rich structured messages is currently painful when we have modules that know how to handle some sub-part of the structure. Case in point: I have a Tuple made of {document: byte[], metadata: Map} and I have a module that knows how to extract textual content from the document byte[]. If I want to extract the document but still retain metadata, I need to either - rewrite the extract content module to accept a tuple (urghh) - fork the stream to extract the document field, apply module, aggregate with metadata (that comes from side channel)
Story points: 8