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.

Reply via email to