Posted: Fri Sep 19, 2008 4:05 am Post subject: Putting Options in MQ
Newbie
Joined: 19 Sep 2008 Posts: 1
When I put messages on to the Queue using a java stub, it successfully places the messages onto the Queue,but the application picks up the messages one by one in sequence.
But when the same thing is done using a Jmeter or manually(by placing the messages using MQbrowser) those are picked up in a lot of 10 as mentioned in the WAS listener port settings.
Can any one suggest what property am i missing to set in my Java stub.
You can only pick up one message at a time from an MQ queue. If your app does that 10 times in a row before presenting the 10 to the front end that's specific to your application design. _________________ Peter Potkay
Keep Calm and MQ On
Posted: Fri Sep 19, 2008 1:24 pm Post subject: Re: Putting Options in MQ
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
priyanky wrote:
When I put messages on to the Queue using a java stub, it successfully places the messages onto the Queue,but the application picks up the messages one by one in sequence.
But when the same thing is done using a Jmeter or manually(by placing the messages using MQbrowser) those are picked up in a lot of 10 as mentioned in the WAS listener port settings.
Can any one suggest what property am i missing to set in my Java stub.
Tried : Increasing priority of the messages.
This has nothing to do with MQ and all to do with MDB settings.
You can also check the qcf settings on MQ where I believe you can fix a limit, default being 10?
The MDB can allow you to process multiple messages in a single UOW. This is configurable and the main reason for this behaviour is speed.
Read up on your WAS manual...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum