http transport instead of tcp

2012-07-31 Thread mark.waltje
Hey, Currently I got a setup that I am satisfied with Using ActiveMQ 5.6.. However it's using TCP instead of the desired HTTP (for Firewall reasons). When I change TCP into HTTP I get that a library is missing. Upon searching I found that I need to move some jars from optional to the lib folder.

How to create password protected queues dynamically

2012-07-31 Thread pcalabrese
Hello, I'm writing a chat application based on ActiveMQ. When a user logs in I need to create his input queue, he will be the exclusive consumer and only he must have read access to this queue. New users come and go so I can not define all the queues in advance. Letting the broker create the

Re: Problem upgrading from 5.5.1 to 5.6.0

2012-07-31 Thread Gary Tully
A bean of type Connection, from the master is what I was looking for. There should be a clientId attribute, I want to understand how that is unique. To specify unique values in conf per installation, system properties/env vars are the way to go and reference them in the xml config using ${..}

Re: Configuring Non-Blocking Redelivery in the Broker

2012-07-31 Thread Gary Tully
The broker variant will be in 5.7, so you can try a 5.7-SNAPSHOT see: https://issues.apache.org/jira/browse/AMQ-3894 The implementation in 5.6 is configured on a connection factory as it augments the existing redelivery policy: https://issues.apache.org/jira/browse/AMQ-1853 On 30 July 2012

Re: activemq-admin stop does not work on Windows 7 pro

2012-07-31 Thread Gary Tully
The admin commands use jmx to connect to the broker so you may need to specify the jmx url, --jmxurl and verify that jmx remove access is enabled http://activemq.apache.org/jmx.html On 31 July 2012 01:01, sk92129 sk92...@gmail.com wrote: I am using Windows 7 Pro with activeMq 5.6.0. After I

Re: How to create password protected queues dynamically

2012-07-31 Thread Dejan Bosanac
Hi Pablo, you'll need to create your own security plugin to support this. Take a look at here for more resources http://activemq.apache.org/security.html Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter:

Re: http transport instead of tcp

2012-07-31 Thread Dejan Bosanac
I think you just need http client (http://hc.apache.org/httpclient-3.x/) added to your the classpath (anywhere under the lib/ folder) Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter: @dejanb blog:

Re: http transport instead of tcp

2012-07-31 Thread mark.waltje
That worked. Thanks! Maybe an idea that somebody adds this to the guides for noobs like me -- View this message in context: http://activemq.2283324.n4.nabble.com/http-transport-instead-of-tcp-tp4654580p4654590.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: http transport instead of tcp

2012-07-31 Thread Dejan Bosanac
Done :) https://cwiki.apache.org/confluence/display/ACTIVEMQ/HTTP+and+HTTPs+Transports+Reference Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter: @dejanb blog: http://www.nighttale.net ActiveMQ in Action:

Re: MessageListener not delivering any more messages at some point

2012-07-31 Thread Jeremias Maerki
We've had to wait until today to have another incident. To answer your questions: - the two (expected) connections (one per tenant) are active. - the number of consumers for the destination is correct: again two. - A non-durable subscription exists for each client. Again two in total. Basically,

Using MongoDB queries with Timer

2012-07-31 Thread rich_g
Hi all I want to make a timer that polls a Mongo collection to get data with an id variable set at runtime. I am able to get a timer working using but don't know how to set a query filter from(timer://myTimer?period=3)

Re: activemq-admin stop does not work on Windows 7 pro

2012-07-31 Thread sk92129
Thanks. I added the useJmx=true to the broker in activemq.xml. restarted it. I used the jconsole to shut it down. I tried to use the activemq-admin stop --all but that does not work. I guess I would need to provide the jmxurl parameter but that seems kind of inconvenient. A would need to

Re: Wildcards may block a prefix in a network of brokers.

2012-07-31 Thread Guerrero
It appears mixing and * just won't work if topic. matches a topic.* subscription and gets ignored. We will be configuring an appropriate number of levels to subscribe to and use a topic.*, topic.*.*, topic.*.*.*, etc progression. Unless I'm misunderstanding something else, this will give us a

Re: Configuring Non-Blocking Redelivery in the Broker

2012-07-31 Thread Chris Pratt
Is the URL parameter nonBlockingRedelivery=true, jms.nonBlockingRedelivery=true, jms.redeliveryPolicy.nonBlockingRedelivery=true, or something else entirely? (*Chris*) On Tue, Jul 31, 2012 at 2:57 AM, Gary Tully gary.tu...@gmail.com wrote: The broker variant will be in 5.7, so you can try a

Re: Configuring Non-Blocking Redelivery in the Broker

2012-07-31 Thread Timothy Bish
On Tue, 2012-07-31 at 13:04 -0700, Chris Pratt wrote: Is the URL parameter nonBlockingRedelivery=true, jms.nonBlockingRedelivery=true, jms.redeliveryPolicy.nonBlockingRedelivery=true, or something else entirely? (*Chris*) On Tue, Jul 31, 2012 at 2:57 AM, Gary Tully gary.tu...@gmail.com

Re: Configuring Non-Blocking Redelivery in the Broker

2012-07-31 Thread Chris Pratt
Well, jms.redeliveryPolicy.nonBlockingRedelivery=true gave a big ol' error about not being recognized. I haven't confirmed that it's not blocking yet, but jms.nonBlockingRedelivery=true is at least accepted without error. (*Chris*) On Tue, Jul 31, 2012 at 1:10 PM, Timothy Bish