Class MessageGroupHashBucketFactory

  extended by
All Implemented Interfaces:

public class MessageGroupHashBucketFactory
extends Object
implements MessageGroupMapFactory

A factory to create instances of SimpleMessageGroupMap when implementing the Message Groups functionality.

Constructor Summary
Method Summary
 MessageGroupMap createMessageGroupMap()
 int getBucketCount()
 void setBucketCount(int bucketCount)
          Sets the number of hash buckets to use for the message group functionality.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public MessageGroupHashBucketFactory()
Method Detail


public MessageGroupMap createMessageGroupMap()
Specified by:
createMessageGroupMap in interface MessageGroupMapFactory


public int getBucketCount()


public void setBucketCount(int bucketCount)
Sets the number of hash buckets to use for the message group functionality. This is only applicable to using message groups to parallelize processing of a queue while preserving order across an individual JMSXGroupID header value. This value sets the number of hash buckets that will be used (i.e. the maximum possible concurrency).

Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.