You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by turkuaz07 <cv...@gmail.com> on 2013/07/17 07:55:22 UTC

Best Protocol For ActiveMQ

Which is the best protocol for activemq networks of brokers.tcp/ip, failover,
Discovery .. 
It is important for me.Cuz For ex. I have 20 brokers.10 of them on cluster1
and 10 of them on cluster2. 
If I put a firewall between these two cluster does it work on performance



--
View this message in context: http://activemq.2283324.n4.nabble.com/Best-Protocol-For-ActiveMQ-tp4669404.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Best Protocol For ActiveMQ

Posted by Torsten Mielke <tm...@redhat.com>.
Broker networks generally use the openwire transport (i.e. tcp://host:port).
In the network connector most people either use static: or masterslave: 
The latter if they want to connect to a master/slave broker pair.

I have not seem multicast being used a lot. 

http://activemq.apache.org/networks-of-brokers.html


Hope this helps.

Torsten Mielke
tmielke@redhat.com
tmielke.blogspot.com



On Jul 17, 2013, at 7:55 AM, turkuaz07 wrote:

> Which is the best protocol for activemq networks of brokers.tcp/ip, failover,
> Discovery .. 
> It is important for me.Cuz For ex. I have 20 brokers.10 of them on cluster1
> and 10 of them on cluster2. 
> If I put a firewall between these two cluster does it work on performance
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Best-Protocol-For-ActiveMQ-tp4669404.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.





Re: Best Protocol For ActiveMQ

Posted by Raul Kripalani <ra...@evosent.com>.
The most widely used protocol (and most mature one) is definitely OpenWire
over the TCP transport.

Discovery tends to be very customer-specific, depending on what your IT
infrastructure department accepts, e.g. multicast may be disabled on your
network, in which case you could use Fabric or LDAP, or even go so far as
to build a custom discoverer over HTTP or another protocol.

If you place a firewall in the middle, make sure that it can handle
long-running connections or you'll start seeing weird Connection Reset
exceptions.

P.S.: You should post user questions only on users@. I see you have posted
this question 3 times in the last days. People don't like that and we may
be discouraged to assist due to the bad net-etiquette. Just some advice for
the future ;-)

Regards,

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

On Wed, Jul 17, 2013 at 7:55 AM, turkuaz07 <cv...@gmail.com> wrote:

> Which is the best protocol for activemq networks of brokers.tcp/ip,
> failover,
> Discovery ..
> It is important for me.Cuz For ex. I have 20 brokers.10 of them on cluster1
> and 10 of them on cluster2.
> If I put a firewall between these two cluster does it work on performance
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Best-Protocol-For-ActiveMQ-tp4669404.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>