|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FMC00817E The result of the query is larger than allowed |
« View previous topic :: View next topic » |
Author |
Message
|
muralihegde |
Posted: Thu Nov 24, 2005 2:44 am Post subject: FMC00817E The result of the query is larger than allowed |
|
|
Centurion
Joined: 30 Apr 2002 Posts: 108
|
Hi,
We are using MQ WF V3.5 with SP5 on Windows. We are using a custom built J2EE client that queries the work items using the java APIs. Recently we came across a situation where there were around 2000 work items created for a particular user. So we get the following exception.
FMC00817E The result of the query is larger than allowed.
I understand that this can be remedied by increasing the value for MAXIMUM_QUERY_MESSAGE_SIZE and MAXIMUM_MESSAGE_SIZE at the domain level. But we will have to do similar changes at MQ Q level as well.
1) But increasing this value from the default of 1MB, will it negatively impact the performance? especially when the number of work items created will be fairly less.
2) Does increasing these values imply we need to change any settings at memory etc?
3) As per the customer requirement, we can not put any more filtering on the query, but what is the effect of specifying the threshold to say a value n? Does it retrieve only the first n work items? Is there a way where we can get the next n work items etc?
Thanks and regards,
-Murali |
|
Back to top |
|
 |
nMQWF |
Posted: Mon Dec 19, 2005 10:45 pm Post subject: |
|
|
 Apprentice
Joined: 02 Oct 2005 Posts: 27
|
queryWorkItems(strFilter,strSort,iThreshold)
where iThreshold is the number of work items u want to fetch at a time.
Then when u need to get the next set of work items,
you can change the filter as
AND PROCESS_NAME > "Last Id in the previous fetch" |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|