Re: Embedded Java Broker?

2013-03-16 Thread Robbie Gemmell
/branches/0.20/qpid/java/broker/src/main/java/org/apache/qpid/server/BrokerOptions.java?view=co On 17 March 2013 00:54, Robbie Gemmell wrote: > > You can create an embedded Java broker, yes. > > Have a look at org.apache.qpid.server.Broker and > org.apache.qpid.server.BrokerOptions,

Re: Embedded Java Broker?

2013-03-16 Thread Robbie Gemmell
You can create an embedded Java broker, yes. Have a look at org.apache.qpid.server.Broker and org.apache.qpid.server.BrokerOptions, and for example how they are used in org.apache.qpid.server.Main. Robbie On 16 March 2013 20:22, rieman wrote: > Is it possible to create an embedded J

Embedded Java Broker?

2013-03-16 Thread rieman
Is it possible to create an embedded Java Broker with Qpid? With Apache ActiveMQ, I create an embedded broker in my Java server application like this: BrokerService broker = new BrokerService(); // configure the broker broker.addConnector("tcp://localhost:61616"); broker.start();

Re: Embedded Java broker

2009-08-11 Thread Marnie McCormack
Hi Tom, There's no reason why you can't do this with the Java broker. We'd recommend a large heap (3GB on 32bit OS) so you have headroom for your broker memory use. We use inVM brokers extensively for testing and there's nothing inherently unsafe about it. This isn't a scenario (afaik) that we t

Re: Embedded Java broker

2009-08-11 Thread Tom
On Mon, Aug 10, 2009 at 7:04 PM, Aidan Skinner wrote: > On Fri, Aug 7, 2009 at 4:03 PM, Tom<808...@gmail.com> wrote: > >> I've seen an old thread and the unit tests where an embedded Qpid >> broker is created but wondered if anyone uses this feature in >> production. Obviously memory is a considera

Re: Embedded Java broker

2009-08-10 Thread Aidan Skinner
On Fri, Aug 7, 2009 at 4:03 PM, Tom<808...@gmail.com> wrote: > I've seen an old thread and the unit tests where an embedded Qpid > broker is created but wondered if anyone uses this feature in > production. Obviously memory is a consideration but is there anything > about the concept that is likel

Embedded Java broker

2009-08-07 Thread Tom
Hi, I've seen an old thread and the unit tests where an embedded Qpid broker is created but wondered if anyone uses this feature in production. Obviously memory is a consideration but is there anything about the concept that is likely to be unsafe? AQMP (and Qpid) looks ideal for our environment