You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Kuppe <ku...@360t.com> on 2006/04/05 00:30:05 UTC

support for legacy protocol

I am new to ActiveMQ and before really evaluating the product too deeply, i
need to determine whether there is support for a legacy protocol/connector
that I use for connecting clients to my existing mom. The current
implementation uses a SocketFactory to create a secure socket using the
HTTPS protocol through proxies/firewalls (performing all negotiations
relevant to  authenticate) and returns the secure socket to a communicator
that then uses this socket for normal binary socket io. This provides a very
internet friendly binary connection to our software clients.

I am interested to know whether I am able to easily migrate this socket
factory to an ActiveMQ connector and/or whether there is in fact an
alternative connector included in ActiveMQ that could replicate this
behaviour.

Thanks for your feedback.

--
View this message in context: http://www.nabble.com/support-for-legacy-protocol-t1396026.html#a3754456
Sent from the ActiveMQ - User forum at Nabble.com.


Re: support for legacy protocol

Posted by James Strachan <ja...@gmail.com>.
On 4/4/06, Kuppe <ku...@360t.com> wrote:
>
> I am new to ActiveMQ and before really evaluating the product too deeply, i
> need to determine whether there is support for a legacy protocol/connector
> that I use for connecting clients to my existing mom. The current
> implementation uses a SocketFactory to create a secure socket using the
> HTTPS protocol through proxies/firewalls (performing all negotiations
> relevant to  authenticate) and returns the secure socket to a communicator
> that then uses this socket for normal binary socket io. This provides a very
> internet friendly binary connection to our software clients.
>
> I am interested to know whether I am able to easily migrate this socket
> factory to an ActiveMQ connector and/or whether there is in fact an
> alternative connector included in ActiveMQ that could replicate this
> behaviour.

Pretty much everything in ActiveMQ is pluggable; in particular the
Transport layer is pluggable so that you can implement the transport
in any way you like. In particular you can derive from the
TcpTransport and provide whatever SocketFactory you wish; or overload
the mechanism to make a socket. e.g. see the SslTransportFactory and
SslTransport for examples..

ActiveMQ uses these text files...
http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/main/resources/META-INF/services/org/apache/activemq/transport/

as a discovery mechanism to auto-detect new transports - so you can
drop your jar on the classpath with the right file in
META-INF/services/... then you can use your own transport via a URI. 
e.g. set the brokerURL on the ActiveMQConnectionFactory to
mytcp://host:port etc

--

James
-------
http://radio.weblogs.com/0112098/