-
1. Re: HQ Cluster with Jgroup and Jboss as 7
jbertram May 29, 2014 9:57 AM (in response to ravi.teja)I'm confused about what you're asking about. In your first comment you said, "Now, my question is How to configure the hornetq cluster details in the jboss server . Actually i want to configure with the Jgroup tcp protocal." Then roughly 7 hours later it appears you found the proper TCP JGroups configuration to cluster your servers. Is that correct?
In the second comment you ask, "My question is how to connect to these 2 HQ servers from Jboss with jgroups?" Are you asking about how to connect to the HornetQ cluster from a remote client? Please clarify?
-
2. Re: HQ Cluster with Jgroup and Jboss as 7
ravi.teja May 29, 2014 10:01 AM (in response to jbertram)Hi Justin ,
Thank you for your reply .
Actually , I configured the HQ server in cluster mode and they are connected as core bridge also . But , How can i connect or configure to these clustered Hornetq from jboss server .
-
3. Re: HQ Cluster with Jgroup and Jboss as 7
jbertram May 29, 2014 10:14 AM (in response to ravi.teja)Actually , I configured the HQ server in cluster mode and they are connected as core bridge also . But , How can i connect or configure to these clustered Hornetq from jboss server .
Are you talking about a JBoss AS server separate from the one(s) hosting HornetQ. Please clarify your use-case.
-
4. Re: HQ Cluster with Jgroup and Jboss as 7
ravi.teja May 29, 2014 12:27 PM (in response to jbertram)Hi Justin ,
Lets assume that we have 1 Jboss As server 7.1 and 2 HQ servers which are running in Amazon EC2.
The HQ servers are running in cluster mode .
Now i want to connect to the remote HQ servers which are running in cluster mode from Jboss As server 7.1 .
-
5. Re: HQ Cluster with Jgroup and Jboss as 7
jbertram May 29, 2014 3:36 PM (in response to ravi.teja)Please clarify what kind of client you will be using and what the client will be doing. Will you be using an MDB? Will you be using a "core" client or a JMS client? Will you be sending or consuming messages?
Your use-case is still unclear.
-
6. Re: HQ Cluster with Jgroup and Jboss as 7
ravi.teja May 30, 2014 1:16 AM (in response to ravi.teja)Hi Justin ,
Please find the complete scenario below
I have an ejb jar which containing the MDB for the queue named as exampleQueue and it is deployed in the JbossAsServer -7.1 .
I have a simple JMS client , Which will push the messages to the exampleQueue . When i push a message to the exampleQueue , Any one hornetq server should listen and The MDB will process to consume messages in exampleQueue which is delpoyed in JbossAsServer-7.1.
Now , I stuck in configuring the JbossAsServer-7.1 to connect to the remote HQ servers which are running in cluster mode
-
7. Re: HQ Cluster with Jgroup and Jboss as 7
ravi.teja Jun 1, 2014 11:41 PM (in response to ravi.teja)Hi acxjbertr
,
The below diagram shows my architecture
Where JBOSS EC2 instances are autoscale and non-clustered .The Hornetq Servers are also autoscale but in clustered mode. We are using the jgroups tcp for HQ clustering .