Hi Christian, Thanks a lot for your response. I tried using the thread dsl, when I give the thread count as 5, I can see in IBMMQ server there are 25 connection in output count, but rate at which messages pushed to the queue doesn't increase. It processes 2000 non-persistence messages per minute which is very low earlier the rate was 1500msg/min. Is there any configuration to increase the message rate to send to the queue? Or any suggestion on this, I googled but doesn't find any solution.
Regards, Shadab -----Original Message----- From: Christian Müller [mailto:christian.muel...@gmail.com] Sent: Tuesday, August 05, 2014 12:35 PM To: users@camel.apache.org Subject: Re: Multiple JMS producer with IBMMQ Hi Shadab! Sorry, I overlooked that you are talking about the producer. What is the source you are reading from? And may the thread() DSL element is helpful for you: from("xxx") .threads(3, 10, "threadName") .to("xxx"); Best, Christian ----------------- Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Tue, Aug 5, 2014 at 8:26 AM, Ali, Mohammad <mohammad.a...@genpact.com> wrote: > Hi Christian, > > Thanks for your reply. > > Will concurrentConsumer option work for producer also? I will give a > try to this. > > Regards, > Shadab > > > -----Original Message----- > From: Christian Müller [mailto:christian.muel...@gmail.com] > Sent: Tuesday, August 05, 2014 1:40 AM > To: users@camel.apache.org > Subject: Re: Multiple JMS producer with IBMMQ > > Is the concurrentConsumer option not working for you? > > Best, > Christian > Am 04.08.2014 18:02 schrieb "Ali, Mohammad" <mohammad.a...@genpact.com>: > > > Hi, > > > > I am using camel-2.9.0. JMS producer component with IBMMQ > > performance is very slow, I want to create multiple JMS producer to > > send message to IBM queue something like multi-threading. Is there a > > way in camel where I can create multiple threads of JMS producer, > > just like > concurrent consumers. > > > > > > Thanks, > > Shadab > > > > This e-mail (and any attachments), is confidential and may be privileged. > > It may be read, copied and used only by intended recipients. > > Unauthorized access to this e-mail (or > > attachments) and disclosure or copying of its contents or any action > > taken in reliance on it is unlawful. Unintended recipients must > > notify the sender immediately by e-mail/phone & delete it from their > > system without making any copies or disclosing it to a third person. > > > > > > This e-mail (and any attachments), is confidential and may be privileged. > It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or > attachments) and disclosure or copying of its contents or any action > taken in reliance on it is unlawful. Unintended recipients must notify > the sender immediately by e-mail/phone & delete it from their system > without making any copies or disclosing it to a third person. > > This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.