Re: Stuck messages in topic after restart of broker

2011-11-14 Thread Dejan Bosanac
can you create a test case that reproduces this and open a Jira for it? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Re: Composite Queues

2011-11-14 Thread Dejan Bosanac
It should work, can you create a test case that demonstrates your issue and raise a Jira? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog

Re: ActiveMQ and SSL

2011-11-14 Thread Dejan Bosanac
Yes, they are auto-generated, you should run mvn install on activemq-core module to get them generated. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action -

Re: ActiveMQ Dynamic Configuration at Runtime

2011-11-14 Thread mickhayes
To answer your question, if you want to configure the memory usage in the broker, it can be re-read but only at broker start time. The log4jproperties *can *be re-read on-the-fly (without broker restart), but not the system-usage etc. configuration. But there is a hard jvm limit that you have to

Re: XML Validation fails for Placeholder on non string attributes

2011-11-14 Thread Dejan Bosanac
Hi Joe, thanks for pointing this out. https://issues.apache.org/jira/browse/AMQ-3168 is now fixed. For older version, turn off schema validation. See http://activemq.apache.org/xml-reference.html#XmlReference-SchemaValidationAlphabeticallyOrderedXMLElements%28Newin5.4%29 for more info Regards

Re: Confused by ActiveMQ 'Discarding message' on Topics

2011-11-14 Thread Dejan Bosanac
So, you obviously have a very slow consumer on that topic and messages keep piling up until they exhaust broker resources. To deal with that you should use either, pending limit strategy, like you did in the first case. In this case the messages will be discarded to keep broker resources in order

Re: temp destinations in network of brokers

2011-11-14 Thread Dejan Bosanac
Hi, this seems like a normal operation, as a message on ActiveMQ.Advisory.TempQueue indicates that temp queue has been created/destroyed. Where do you see those messages? Are you subscribed to that topic? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in

Re: [Ajax] 404 not found and parsererror

2011-11-14 Thread liny
Any advice is appreciated. Thank you. -- View this message in context: http://activemq.2283324.n4.nabble.com/Ajax-404-not-found-and-parsererror-tp4022009p4039390.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [Ajax] 404 not found and parsererror

2011-11-14 Thread Dejan Bosanac
Put your page into demo folder and it will probably work. You are referencing js libs with wrong paths. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action -

Re: [Ajax] 404 not found and parsererror

2011-11-14 Thread liny
Hi, Dejan: Thanks for reply. I will try it later. As a newbie, I don't know why ../amq/amq.js is used in demo, not ../js/amq.js. Could you please help on http://www.manning-sandbox.com/thread.jspa?threadID=47130tstart=0 http://www.manning-sandbox.com/thread.jspa?threadID=47130tstart=0 ? -- View

RedeliveryPolicy not working with Springs DefaultMessageListenerContainer

2011-11-14 Thread Marek Neumann
Hi, we set up an ActiveMQ Spring configuration: bean id=queueConnectionFactory class=org.apache.activemq.pool.PooledConnectionFactory property name=connectionFactory bean class=org.apache.activemq.ActiveMQConnectionFactory property name=brokerURL

Performance test - default configuration only?

2011-11-14 Thread martinec
Hello, I have downloaded activemq-parent-5.5.0-source-release package to run the activemq performance test. I had been able to run the test successfully, but then I did not managed to change the default configuration for the producer. I read the plugin sources (in the

Re: Performance test - default configuration only?

2011-11-14 Thread Torsten Mielke
Hello, What command do you try to use and how do you try to set a configuration file? I have never specified a configuration file for producer or consumer but simply set all options using -D arguments, e.g. activemq-perf:producer -Dproducer.sessTransacted=false -Dproducer.sessAckMode=autoAck

Re: temp destinations in network of brokers

2011-11-14 Thread R.I.Pienaar
- Original Message - Hi, this seems like a normal operation, as a message on ActiveMQ.Advisory.TempQueue indicates that temp queue has been created/destroyed. Where do you see those messages? Are you subscribed to that topic? no, even once I am done with the topic they

Re: Security bug in authorization system?

2011-11-14 Thread Torsten Mielke
Hello, I have debugged your unit test today and the reason for not getting an authorization exception in test accessToProtectedTopicWithWildcardsDestinationAsUserShouldFail() is that the AuthorizationBroker appends the security roles of all of the sub nodes in its authorization

Message priority

2011-11-14 Thread Mihai Osian
Hello, I am trying to enable priority consumption and I can't seem to get it working right. I am using ActiveMQ version 5.5.1 and I have followed the instructions from http://activemq.apache.org/how-can-i-support-priority-queues.html. For testing I modified the example code that comes

Re: Performance test - default configuration only?

2011-11-14 Thread martinec
Hello, What command do you try to use and how do you try to set a configuration file? I have never specified a configuration file for producer or consumer but simply set all options using -D arguments, e.g. activemq-perf:producer -Dproducer.sessTransacted=false -Dproducer.sessAckMode=autoAck

Re: peer protocol - wait for discovery

2011-11-14 Thread Stefan Oestreicher
Hi, You can do that by simply registering a consumer for Destination advisoryTopic = AdvisorySupport.getConsumerAdvisoryTopic(dest) and send a message only after you received a first message there. Ah, I see, that should be simple enough. Thank you very much. best regards Stefan

Re: Stuck messages in topic after restart of broker

2011-11-14 Thread daniel.blyth
I created a jira issue for this problem and included a a unit test for verification. https://issues.apache.org/jira/browse/AMQ-3594 -- View this message in context: http://activemq.2283324.n4.nabble.com/Stuck-messages-in-topic-after-restart-of-broker-tp4024125p4041053.html Sent from the

Unable to connect to broker over ssl

2011-11-14 Thread manua
Hi, I have setup the ssl in the broker as follows, sslContext sslContext keyStore=file:${activemq.base}/conf/broker.ks keyStorePassword=password trustStore=file:${activemq.base}/conf/broker.ts trustStorePassword=password/ /sslContext And specified he