stephen mallette created TINKERPOP-1965:
-------------------------------------------
Summary: Make MessageCombiner a bit more flexible
Key: TINKERPOP-1965
URL: https://issues.apache.org/jira/browse/TINKERPOP-1965
Project: TinkerPop
Issue Type: Improvement
Components: process
Affects Versions: 3.3.3
Reporter: stephen mallette
Assignee: stephen mallette
Fix For: 3.4.0
Currently {{MessageCombiner}} takes two messages and forces them to one, but in
some cases you might want to have logic that makes the choice as to whether or
not to combine or keep the messages separate. Perhaps the signature should be:
{code}
public List<M> combine(final M messageA, final M messageB);
{code}
or something similar that would allow return of one object or two. Not sure if
it is worth deprecating the old code - perhaps we just make it a straight
breaking change on 3.4.0.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)