activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Create a broker with vm and tcp transport connectors
Date Wed, 03 May 2006 13:19:48 GMT
On 5/3/06, Kuppe <kuppe@360t.com> wrote:
>
> Can you please demonstrate how i can create a BrokerService that allows me to
> connect using the VM connector for local connections and the TCP connector
> for remote connections? I am interested specifically in how to create the
> BrokerService in java.

Details here...
http://activemq.org/How+do+I+embed+a+Broker+inside+a+Connection

> Is it possible to separate the broker creation from
> the client that uses the broker even if they exist in the same virtual
> machine - meaning, besides the urlString allow the client to be ignorant of
> the fact that the broker is local or remote?

Yes - the ActiveMQConnectionFactory just uses a URL to connect to.
Though clearly "vm://localhost" only works if the broker is actually
in the same JVM.

--

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

Mime
View raw message