[
https://issues.apache.org/jira/browse/S4-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aimee Cheng updated S4-104:
---------------------------
Environment:
In Stream class:
for (ProcessingElement pe : pes) {
pe.handleInputEvent(event);
}
It seems will cause problem if different PE share a same event object.
Sometimes we only need change a attribute of the event and then sent it again.
But in current version, if one PE changed the attribute of event, it will have
impact on other PEs.
Affects Version/s: 0.5.0
Summary: Current Stream pass the same event object to different
targetPEs (was: Use )
> Current Stream pass the same event object to different targetPEs
> ----------------------------------------------------------------
>
> Key: S4-104
> URL: https://issues.apache.org/jira/browse/S4-104
> Project: Apache S4
> Issue Type: Bug
> Affects Versions: 0.5.0
> Environment: In Stream class:
> for (ProcessingElement pe : pes) {
> pe.handleInputEvent(event);
> }
> It seems will cause problem if different PE share a same event object.
> Sometimes we only need change a attribute of the event and then sent it
> again. But in current version, if one PE changed the attribute of event, it
> will have impact on other PEs.
> Reporter: Aimee Cheng
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira