I am developing a C#.Net windows service that uses Apache.NMS.ActiveMQ. In this design i have multiple consumers and 1 provider. each consumer has to access multiple messages from queue and process it parallely. ex: I have 100 messages in a queue. 2 consumers are polling the same queue. 1st consumer has to get 10messages and another 10 messages for 2nd consumer and in each consumer i create multiple threads to handle the messages like call webservice for each message. but i am stuck with only 1 message for a consumer it is accessed sequentially but not parallely. Could you please provide a sample of code?
-- View this message in context: http://activemq.2283324.n4.nabble.com/Parallel-calls-from-1-consumer-to-provider-tp4720535.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
