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 Fri, 05 May 2006 08:18:39 GMT
On 5/5/06, Kuppe <kuppe@360t.com> wrote:
>
> Ok, i now programatically create the BrokerService. Can you explain to me how
> i can set the vm transport options from the BrokerService?

See
http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/BrokerService.html#addConnector(java.lang.String)

that string is then using the URI syntax documented here
http://activemq.org/Configuring+Transports

> Additionallly is there a way to programatically create the BrokerService
> whilst using an xml file to configure the broker?

Its one or the other. The XML file creates a BrokerService - or you
can create it with Java.

--

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

Mime
View raw message