[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1149) Singleton consumer on queue/topic
Tim Fox (JIRA)
jira-events at lists.jboss.org
Tue Nov 13 08:48:45 EST 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-1149?page=comments#action_12387258 ]
Tim Fox commented on JBMESSAGING-1149:
--------------------------------------
Changes required to implement this are fairly simple.
The new feature will work as follows:
Deploy the queue/topic on all nodes of the cluster as clustered = "true" (since still need failover) and also set "disableRedistribution" (new attribute) to true. This will prevent messages being redistributed between nodes for that destination.
Next, deploy a connection factory, set attribute "Singleton" = true (new attribute). This will ensure the connection factory only actually gets bound in JNDI on one node in the cluster at any one time. Deploy the connection factory on all nodes.
>From the client side, use HA JNDI to lookup the connection factory - this will ensure the client does not need to know the actual node it is bound on.
Then just set MDB pool size to 1 (can use the Singleton MDB profile) and all messages sent to that queue/topic will be consumed on the same node.
> Singleton consumer on queue/topic
> ---------------------------------
>
> Key: JBMESSAGING-1149
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1149
> Project: JBoss Messaging
> Issue Type: Feature Request
> Affects Versions: 1.4.0.SP1
> Reporter: Tim Fox
> Assigned To: Tim Fox
> Fix For: 1.4.0.SP2
>
>
> A last minute requirement came up from the AS team (Carlo and Bill DeCoste).
> JBoss MQ uses HA singleton to provide a singleton consumer on a queue/topic. If that node fails, the consumer should failover onto another single node.
> Currently this isn't supported in JBM.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list