Re: Implementing a *fast* alternative to JMX and work post 6.0

2015-04-01 Thread James Carman
Definitely worth looking into it. If you can't use it or it doesn't do what you need, maybe you can get some inspiration from the code. On Wednesday, April 1, 2015, Kevin Burton wrote: > I might re-investigate it… we were having problems with class path hell due > to it conflicting with my code

Re: Implementing a *fast* alternative to JMX and work post 6.0

2015-04-01 Thread Kevin Burton
I might re-investigate it… we were having problems with class path hell due to it conflicting with my code and activemq. I think I might have resolved that though. I would still need to run activemq in embedded mode and still make sure the performance is decent :) On Wed, Apr 1, 2015 at 8:07 PM,

Re: Implementing a *fast* alternative to JMX and work post 6.0

2015-04-01 Thread Hadrian Zbarcea
This is very true for more reasons than those you describe. I am presenting on activemq at apachecon in a couple of weeks and I will probably talk about this a bit. JMX can only give you a very limited number of useful metrics. JMX is also almost useless in a more complex topology. I would s

Re: Implementing a *fast* alternative to JMX and work post 6.0

2015-04-01 Thread James Carman
Jolokia maybe? On Wednesday, April 1, 2015, Kevin Burton wrote: > A couple things I wanted to talk about which are somewhat related. > > JMX is somewhat slow. Further, at least from my perspective, it’s somewhat > dated. All the cool kinds have fancy REST API endpoints except for > ActiveMQ. >

Implementing a *fast* alternative to JMX and work post 6.0

2015-04-01 Thread Kevin Burton
A couple things I wanted to talk about which are somewhat related. JMX is somewhat slow. Further, at least from my perspective, it’s somewhat dated. All the cool kinds have fancy REST API endpoints except for ActiveMQ. I think we’re going to migrate to our own embedded activemq using our own in

Disable flow control on certain consumers?

2015-04-01 Thread Kevin Burton
I have some consumers that I want to disable flow control on , and others where I want it enabled . Is this possible? I was looking at how it was disabled by default on async unless you specify a window, but that seems like a hack to me and probably prone to some unknown issue I might run into.

Re: Why is MemoryMessageStore a map and not a queue… Re-implementing with a PriorityBlockingQueue

2015-04-01 Thread Kevin Burton
Huh. I haven’t seen CHM perform poorly in that regard but I’m open minded. I might post to the mechanical-sympathy list about that as there is a lot of focused discussion on that front. Ten years. wow. Crazy. I think if it turns out that updateMessage is NEVER used then I can just used a conc

Re: Why is MemoryMessageStore a map and not a queue… Re-implementing with a PriorityBlockingQueue

2015-04-01 Thread Rob Davies
Its historical - probably at least 10 years old in origin. Only warning I would give is that ConcurrentHashMap can be slow and a memory hog for lots of inserts deletes - synchronisation around a HashMap may perform better - would be worth validating that though > On 1 Apr 2015, at 20:57, Kev

Why is MemoryMessageStore a map and not a queue… Re-implementing with a PriorityBlockingQueue

2015-04-01 Thread Kevin Burton
I’m curious why MemoryMessageStore is backed by a LinkedHashMap and not a queue data structure. Does anyone know? It might be just do to the age. The one thing that could break it is: public void updateMessage(Message message) .. which updates the message by ID. But make we could keep two

Re: Serializable class 'GenericMessage' not available to broker

2015-04-01 Thread Tim Bain
The simplest option is to serialize the object yourself (to XML/JSON/some format of your own devising) and send it as a Text message instead of an Object message... Tim On Apr 1, 2015 3:17 AM, "Derek Coleman" wrote: > Hello Christian: > > In this post you recommended not to use ". Or, don't use

Adding users and console access

2015-04-01 Thread Scammell
ActiveMQ version 5.10.1 With reference to the security documentation at http://activemq.apache.org/security.html, I'm trying to add a new user to my ActiveMQ configuration. This user should only be able to see a subset of the available queues on the broker. I have done the following: 1) Added an

Re: Adding users and console access

2015-04-01 Thread Scammell
To add users who are able to access the web console, you have to update the conf/jetty-realm.properties file. -- View this message in context: http://activemq.2283324.n4.nabble.com/Adding-users-and-console-access-tp4694081p4694085.html Sent from the ActiveMQ - User mailing list archive at Nabbl

Messages are lost in a ActiveMQ network message broker

2015-04-01 Thread katamareddy
There are 70 ActiveMQ nodes in a network broker. There is a single message publisher which publishes messages in to a topic of primary ActiveMQ node. The primary node is in the network broker and the messages will flow from primary node to other nodes(using topic on each node) in a network broker.

Re: Serializable class 'GenericMessage' not available to broker

2015-04-01 Thread Derek Coleman
Hello Christian: In this post you recommended not to use ". Or, don't use Object messages (preferred). " object messages in ActiveMQ, do you have recommendations on how to successfully do this? Thanks, -- Derek Coleman de...@dcassociatesgroup.com

ActiveMQ monitor to create alerts

2015-04-01 Thread katamareddy
What is the best ActiveMQ monitoring tool? Looking for Monitoring to send alerts whenever there is out side threshold limits in terms of memory/no of messages of queue/topic. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-monitor-to-create-alerts-tp4694110.html

Re: "Invalid TLS Padding data Error" while trying to connect ActiveMQ via SSL

2015-04-01 Thread harikrish07121991
hai Hadrian, Thanks for replying. Am using Ubuntu 12.04 with kernel 3.13 . Also the java version is 1.7.0_72. I have used the following link for the creation of client and broker certs. https://github.com/rethab/php-stomp-cert-example/blob/master/README.md -- View this message in context:

Re: "Invalid TLS Padding data Error" while trying to connect ActiveMQ via SSL

2015-04-01 Thread harikrish07121991
Hai, Thanks for replying. I have already tried connecting to the "openwire" connector from an mqtt client without ssl and it worked. Also tried connecting to the ssl connector without the client certificates and the case remains the same: 2015-04-01 12:41:11,941 | WARN | Transport Connection to: