On 5/3/06, Kuppe <[EMAIL PROTECTED]> 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/

Reply via email to