How can I selectively cluster queues in HornetQ

Solution Unverified - Updated -

Issue

  • How to allow some queues to be part of cluster while exclude other queues. For example I have defined two queues namely TestQueueA and TestQueueB in my JMS destinations and I want TestQueueA to be part of cluster while preventing TestQueueB becoming clustered.
  • We have an application requirement to replicate processing of an application event (JMS message) in each of the nodes of the JBOSS Cluster. The event processing acts on an in-memory cache of some application data. We took advantage of the 'Clustered=true' attribute on the JMS destination to replicate this processing IN ALL the JBOSS nodes of the cluster. In JBOSS EAP 6, we don't see any equivalent for this behavior. Please advise.

  • JMS loadbalancing/replication via a cluster connection only works if the message addresses start with jms and not otherwise
    We have a requirement of processing messages to a JMS destination in all nodes of the JBOSS cluster. We set up a cluster connection in the messaging subsystem to realize this behavior - but to our consternation the messages are being sent to other nodes only if the address starts with the specific string 'jms'. We tried with different values for the 'address' attribute of the cluster connection viz jms.clustered, clustered ... But it only seems to work if the value is 'jms'. The problem is we configured all our destinations in the 'jms' namespace viz jms/a/b, jms/p/q and so on. We will now need to change all this so that only the select destinations are selected for clustering if what we observed is indeed a restriction. Are we missing anything? Please guide.

Environment

  • Red Hat JBoss Enterprise Application Platform

    • 6.x
  • HornetQ

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.