sounds like you should use a circular flowgraph instead.
--
Cheers,
√
On 1 Aug 2015 14:21, <[email protected]> wrote:
> no each stage or flow needs to add data to it.
>
> Like
> class Context{
> String severPath;
> ByteString jsonBody
> Object result;
> }
>
> For example I have a http-redirect-Flow which might change the serverPath
> and fork back to another flow. In the sink I check with the serverPath
> if a change happened
>
>
> Am Samstag, 1. August 2015 14:09:28 UTC+2 schrieb √:
>>
>> if you have a clean handoff: no reading or writing to it once it is
>> passed downstream, then it should work just fine.
>>
>> --
>> Cheers,
>> √
>> On 1 Aug 2015 12:19, <[email protected]> wrote:
>>
>>> I simplifies my stream if I use a mutable Context Object (one per
>>> request) which gets created in the source and passed to the flows and
>>> finally arrives out at the sink.
>>> Does this violate any concurrency rules? This context object will only
>>> be mutated inside the stream stages.
>>>
>>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives:
>>> https://groups.google.com/group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.