Re: ActiveMQ master slave with data replication

2017-04-06 Thread Tim Bain
Also, you could consider using a RDBMS as your backing store. It's had less tuning than KahaDB, and it's not particularly well supported on this mailing list because I've never used it and I'm not sure if any of the other active responders have either, but it's more stable than LevelDB and it doesn

Re: ActiveMQ master slave with data replication

2017-04-06 Thread Tim Bain
ActiveMQ allows pluggable storage lockers ( http://activemq.apache.org/pluggable-storage-lockers.html) which allow you to use a different technology for master election than you use for message storage. So the inability of a shared filesystem technology to provide distributed file locks isn't a dea

Re: Same messages to new queue with new destination

2017-04-06 Thread Optimus
@Tim Thanks for sugegstions The way I have achieved this is Step 1:- Making a new queue which take data of existing queue Step 2 :- Adding consumer for newly created queue -- View this message in context: http://activemq.2283324.n4.nabble.com/Same-messages-to-new-queue-with-

Re: Demos on windows

2017-04-06 Thread Tim Bain
All of the (Linux-based) examples I found in the first few pages of Google search results showed running from .. instead of cd'ing into bin, so I expect we'd correct the problem you pointed out (thank you) by making it use that same paradigm. You're referring to a user guide that's bundled with th

Demos on windows

2017-04-06 Thread LarryC
The user guide for windows says: cd bin activemq.bat console xbean:examples/conf/activemq-demo.xml It should say: cd bin activemq.bat console xbean:../examples/conf/activemq-demo.xml or alternatively bin\activemq.bat console xbean:examples/conf/activemq-demo.xml -- View th

Re: Unwanted caching of authorization results

2017-04-06 Thread Vince Cole
Sorry, forgot to say: I am using ActiveMQ 5.14.0 and developing my own plugins. Trying to write a plugin to deliver same functionality as AuthorizationMap, but as a proper plugin (i.e. using BrokerFilter, etc) so it can read a few bean properties from activemq.xml on startup. Also the message fro

Unwanted caching of authorization results

2017-04-06 Thread Vince Cole
It would apoear that org.apache.activemq.security.AuthorizationBroker uses Security context in some way to cache the results of authorization. This means if I have a dynamic map (i.e. the permissions could change from one 'send' request to the next, for any destination) the dynamic nature is lost

Re: [Artemis] [Bug] Consume from non-durable jms topic

2017-04-06 Thread Clebert Suconic
I would recommend you guys moving to 1.5.latest though.. it's totally compatible. On Thu, Apr 6, 2017 at 3:37 PM, abhijith wrote: > Good to know. Thanks. Appreciate the help > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Artemis-Bug-Consume-from-non-durable

Re: [Artemis] [Bug] Consume from non-durable jms topic

2017-04-06 Thread abhijith
Good to know. Thanks. Appreciate the help -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-Bug-Consume-from-non-durable-jms-topic-tp4724597p4724667.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ master slave with data replication

2017-04-06 Thread Steve Hill
I would suggest checking out something like GlusterFS which created distributed replicated data. We have used it for high performant applications without problem. I am not sure how the slave knows how to not start - so this may not work for you if it is based on file locking. Thanks Steve > O

Re: Apache Artemis - Stress-test time

2017-04-06 Thread Justin Bertram
My advice is to simplify your environment, application, and broker configuration as much as possible while still reproducing the high CPU utilization. If you can do it with only local resources (e.g. everything running on a laptop) then that's even better. The simpler and easier it is to repr

Re: Same messages to new queue with new destination

2017-04-06 Thread Tim Bain
I'd use a composite queue: http://activemq.apache.org/virtual-destinations.html (near the bottom) Tim On Apr 6, 2017 8:11 AM, "Optimus" wrote: I am currently working on a task which involve functionality of sending duplicate messages to new queue which is directing to fresh location. The scena

Re: Apache Artemis - Stress-test time

2017-04-06 Thread francesco81
Hi Justin, we've tried by turning off tls. It doesn't change: cpu usage remain very high. We've tried also by disabling persistence. It changes a bit: at the beginning of the connection phase, cpu goes to 50% ...then it increases time by time til it reaches 100% when there are about 1000 connected

Re: ActiveMQ master slave with data replication

2017-04-06 Thread Justin Bertram
This doesn't directly answer your question, but... Aside from using the 5.x broker you can use the ActiveMQ Artemis broker [1]. It supports shared-nothing replication for live/backup. See more in the documentation [2]. Justin [1] http://activemq.apache.org/artemis/ [2] http://activemq.apach

Re: [Artemis] [Bug] Consume from non-durable jms topic

2017-04-06 Thread Justin Bertram
> Does this mean, in order to listen to a topic you would always need 2 roles? > createNonDurableQueue and consume? You don't need two roles. You just need two "permissions" (i.e. createNonDurableQueue and consume). A single role can have multiple permissions. > We don't need to have create

ActiveMQ master slave with data replication

2017-04-06 Thread khandelwalanuj
Hi, I want to use ActiveMQ's master-slave topology where one broker is master and other attaches as a slave. But we don't have any shared file system for it. I know one way to do this is with replicated levelDB but since it is deprecated, I don't want to go ahead with this. Is there any way we can

Same messages to new queue with new destination

2017-04-06 Thread Optimus
I am currently working on a task which involve functionality of sending duplicate messages to new queue which is directing to fresh location. The scenario is like this I have a queue name 'A' where I am receiving messages from long time. Now I need to create a new queue with name 'B' and its dest