Hi,

No, the meaning of concurrentConsumers is defined and implemented by the
SEDA component (http://camel.apache.org/seda.html) Akka cannot change the
meaning of that. In an actor system you probably gain nothing from using
this functionality, since you can just immediately forward an incoming
message to a pool of workers actors.

-Endre


On Thu, Jun 19, 2014 at 4:16 PM, <[email protected]> wrote:

> Hi All,
>
> I have an consumer actor like below. It just consumers data from seda. But
> i configure *concurrentConsumers=20. *
> *Does it means there will be 20 temp actor will receive data from the seda
> and send data to AkkaConsumerActor in the same time?*
>
> public class AkkaConsumerActor extends UntypedConsumerActor {
>
> private static final Logger logger = Loggers.getLogger();
>
>
> public AkkaConsumerActor(Processor typeActorProcessor, String endpoint) {
>  this.typeActorProcessor = typeActorProcessor;
> this.endpoint = endpoint;
> }
>
> public String getEndpointUri() {
> return "*seda:trades?size=1000000&concurrentConsumers=20*";
>  }
>
> public void onReceive(Object message) {
>
> logger.info("AkkaConsumerActor: start to process message");
>  if (message instanceof CamelMessage) {
>
>  } else {
>  unhandled(message);
> }
>
> logger.info("AkkaConsumerActor: processed message");
> }
>
> }
>
>
>  --
> >>>>>>>>>> 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.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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.

Reply via email to