Getting REST to work with the Broker via https

2009-12-14 Thread yesnid
Hello All, I am having difficulty getting REST & https working in conjunction with each other, could any one post a complete example of a activemq.xml config file that should provide this behavior? I have tried adding the following to my configuration: https://localhost:8443"/> How

Re: HTTPS configuration - HELP!

2009-12-14 Thread yesnid
Does this mean that the configuration that you are placing between the Call tags cannot go into the ativemq.xml file? Thank you. RJtokenlanring wrote: > > Hi all, I've followed all the threads and configurations guide for > configuring HTTPS support > (activeMQ 5.3.0 + JBOSS) > > I have activa

Re: Rolled back messages never get redelivered

2009-12-14 Thread chudak
I figured this out but it was in no way obvious... I had to add this to the DMLC: Hope this helps someone else avoid wasting a whole day.. Charles chudak wrote: > > I'm having a problem with message redelivery. > > I'm using: > > ActiveMQ 5.3.0 > Spring 2.5.6 > Spring Integration 1.0 > A

Rolled back messages never get redelivered

2009-12-14 Thread chudak
I'm having a problem with message redelivery. I'm using: ActiveMQ 5.3.0 Spring 2.5.6 Spring Integration 1.0 Atomikos 3.5.9 If I send a 'broken' message to my queue, the transaction rolls back correctly but it NEVER gets redelivered even if I restart both the client (application) and the broker.

Re: ActiveMQ 5.3.0 and Camel's PollingConsumer

2009-12-14 Thread Dragisa Krsmanovic
On Mon, 2009-12-14 at 09:48 -0800, Dragisa Krsmanovic wrote: > while ((exchange = consumerTemplate.receive(endpoint, 2000l)) != > null) { > > result.append(exchange.getIn().getBody(String.class)).append('/'); > } To add more detail. This loop seems to read only one message at a time. Even

ActiveMQ 5.3.0 and Camel's PollingConsumer

2009-12-14 Thread Dragisa Krsmanovic
I already asked this question on Camel mailing list. This seems to be a problem introduced in ActiveMQ 5.3.0. Reproducible both with Camel 2.0.0 and 2.1.0. Here is the unit test: == @ContextConfiguration public class PollingConsumerTest extends AbstractTestNGSpr

Re: low persistent messaging performance using kahadb

2009-12-14 Thread titexe
Hello, using kahaDB, could you have the same performance? Because I encounter the same problem, even using what in ActiveMQ-througthput.xml best regards, titexe Duro wrote: > > Hi, > > i've tested kahadb and kahaPersistenceAdapter using same simple test > conditions i.e. > > - persistent

Re: low persistent messaging performance using kahadb

2009-12-14 Thread Joe Fernandez
Looks like enableJournalDiskSyncs is comparable to the AMQ message store's syncOnWrite (sync every write to disk) property, which by default it set to 'false'. http://activemq.apache.org/amq-message-store.html Joe Duro wrote: > > It seems enableJournalDiskSyncs="false" do the trick, but what

Re: low persistent messaging performance using kahadb

2009-12-14 Thread Duro
It seems enableJournalDiskSyncs="false" do the trick, but what does this setting actually do? Is it something i should worry about when disabling this feature? Dejan Bosanac wrote: > > Hi Duro, > > kahadb has some trade-offs for scalability and recovery speed vs. > performance, but shouldn't t

Re: low persistent messaging performance using kahadb

2009-12-14 Thread Joe Fernandez
You should get some improvement on the producer side if you set useAsyncSend to true. If you have a relatively small number of destinations and high throughput is important, the AMQ message store is the way to go. Joe http://www.ttmsolutions.com Duro wrote: > > Hi, > > i've tested kahadb a

Re: Master - slave not working

2009-12-14 Thread MrBen
The lock manager wasn't running on one of the Solaris boxes. MrBen wrote: > > I've got two solaris servers, and want a broker running on each with a > corresponding slave on the opposite server. I'm using AMQ Persistence I've > got a NAS that is mounted on both and have used the same filesyste

Re: low persistent messaging performance using kahadb

2009-12-14 Thread Dejan Bosanac
Hi Duro, kahadb has some trade-offs for scalability and recovery speed vs. performance, but shouldn't that much slower. You can check activemq-throughout.xml config and see if applying some the parameters seen there can help you. If performance is your main issue (not scalability and recovery) th