Thanks for your help Gary, it's working now.
Gary Tully wrote:
oops, sorry, my bad, so there is a broker factory for xbean but no
transport factory. The correct syntax is to use the vm transport
factory and tell it to use the xbean broker factory using the
brokerConfig attribute:
The brokerURI
oops, sorry, my bad, so there is a broker factory for xbean but no
transport factory. The correct syntax is to use the vm transport
factory and tell it to use the xbean broker factory using the
brokerConfig attribute:
The brokerURI should be of the form: vm://localhost?brokerConfig=xbean:...
so yo
Hello Gary,
Here's what I did:
1. added activemq.xml to classpath (classes/activemq.xml)
2. used xbean to initialize broker
String brokerURI = "xbean:activemq.xml";
ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory(brokerURI);
connection = connectionFactory.createConn
Use the xbean: uri syntax to reference an xml configuration file in
your brokerURI, that is the most flexible way to configure an embedded
broker.
http://activemq.apache.org/broker-configuration-uri.html
On 16 September 2010 09:24, Don Santillan wrote:
> Hello,
>
> I am using activemq as a dep
As a follow up, I used this unit test which made me think that
StatisticsBrokerPlugin is not activated:
[removed package and import lines]
public class MonitoringTest extends TestCase {
private String brokerURI = "vm://testBroker?broker.persistent=false";
private boolean transacted =