measure activemq network usage

2014-03-31 Thread Mike Wilson
Can someone recommend how to best benchmark network usage on different ActiveMQ configurations? I'll be running the tests on localhost on Ubuntu 13.10. Thanks Mike

RE: measure activemq network usage

2014-03-31 Thread Mike Wilson
Obviously I could let tcpdump spy on the broker port locally on the broker host, but does that catch all traffic? Ie, does all client traffic go over the broker port, or are additional ports opened? And what about discovery broadcasts and similar, what patterns can I use to collect them?

Questions to broker architecture and setup, memory configuration

2014-03-31 Thread Tom_Z
Hi there, as an ActiveMQ starter I would like you to give me some feedback on my setup. Scenario is: - currently single broker setup with standalone ActiveMQ 5.8 using LevelDB, JRE 7, Protocol for all connected systems will be OpenWire - 2 backend systems, let's call them B1 and B2, acting as

Re: LevelDB in ActiveMQ 5.9.0

2014-03-31 Thread Tom_Z
gtully wrote The only known caveat atm is priority support, levelDb does not respect JMS priority in the same way as kahaDB or JDBC does. Hi Gary, can you please expain a little more? Not the same is not not at all, so what are the results when using message priorities? Does it work in most

Re: MessageGroup balancing questions

2014-03-31 Thread Tom_Z
Hi Mike, did you find answers to your questions? Tom -- View this message in context: http://activemq.2283324.n4.nabble.com/MessageGroup-balancing-questions-tp4678735p4679751.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: MessageGroup balancing questions

2014-03-31 Thread Mike Wilson
No :-) But I guess I can find out sooner or later by testing... Best regards Mike Tom_Z wrote: Hi Mike, did you find answers to your questions? Tom

Camel routing based on an xpath value in an XML message

2014-03-31 Thread mtod
I would like to perform a Camel route based on an xpath value in an XML message. The XML Message example: xmlMessage header version1/version msgTypeEvent/msgType sourceApp1source

Re: Camel routing based on an xpath value in an XML message

2014-03-31 Thread Timothy Bish
On 03/31/2014 04:38 PM, mtod wrote: I would like to perform a Camel route based on an xpath value in an XML message. The XML Message example: xmlMessage header version1/version msgTypeEvent/msgType sourceApp1source

Re: Camel routing based on an xpath value in an XML message

2014-03-31 Thread mtod
This is being implemented in ActiveMQ should it still go to Camel? -- View this message in context: http://activemq.2283324.n4.nabble.com/Camel-routing-based-on-an-xpath-value-in-an-XML-message-tp4679753p4679755.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: MessageGroup balancing questions

2014-03-31 Thread Christian Posta
On Tue, Mar 11, 2014 at 1:09 PM, Mike Wilson mike...@hotmail.com wrote: We're considering using MessageGroups and I have a few questions about it: 1) Is it appropriate to use JSESSIONID for JMSXGroupID in a web scenario? It's fine to the extent that you're able to clean up after the

Re: Camel routing based on an xpath value in an XML message

2014-03-31 Thread Christian Posta
Inline... On Mon, Mar 31, 2014 at 1:56 PM, mtod m...@thetods.net wrote: This is being implemented in ActiveMQ should it still go to Camel? Yes, you're asking about the routing and that is Camel :) The quick answer is Yes you can do what you're asking.. use xpath expressions and a dynamic

Re: LevelDB in ActiveMQ 5.9.0

2014-03-31 Thread Christian Posta
On Mon, Mar 31, 2014 at 12:06 PM, Tom_Z tomatgooglec...@arcor.de wrote: gtully wrote The only known caveat atm is priority support, levelDb does not respect JMS priority in the same way as kahaDB or JDBC does. Hi Gary, can you please expain a little more? Not the same is not not at all, so

Re: Questions to broker architecture and setup, memory configuration

2014-03-31 Thread Christian Posta
So this a little TL;DR... but I try answer some of your questions inline... On Mon, Mar 31, 2014 at 11:53 AM, Tom_Z tomatgooglec...@arcor.de wrote: Hi there, as an ActiveMQ starter I would like you to give me some feedback on my setup. Scenario is: - currently single broker setup with

Re: measure activemq network usage

2014-03-31 Thread Christian Posta
On Mon, Mar 31, 2014 at 7:01 AM, Mike Wilson mike...@hotmail.com wrote: Obviously I could let tcpdump spy on the broker port locally on the broker host, but does that catch all traffic? Ie, does all client traffic go over the broker port, or are additional ports opened? Yes, Client -- Broker

Re: PooledSession - No way return it back

2014-03-31 Thread Christian Posta
The implementation as it is assumes that a Session is not idle if it has consumers open.. so if you want to return it back to the pool, you'd close it, which returns it to the pool and closes all consumers. Can you just hold the session that you have when you first create it? On Fri, Mar 28,

Re: server hang because of memory usage estimate not accurate?

2014-03-31 Thread Christian Posta
can you show stack traces next time it happens so we can see what the broker was trying to do when it hanged? And what constituted hanging? Couldn't send more messages, couldn't receive messages? On Fri, Mar 28, 2014 at 12:23 AM, Li Li fancye...@gmail.com wrote: I am using the default

Re: server hang because of memory usage estimate not accurate?

2014-03-31 Thread Li Li
the server is doing nothing but gc. no client can connect to it. even the hawtio. next time I will save the jstack and jmap result On Tue, Apr 1, 2014 at 5:53 AM, Christian Posta christian.po...@gmail.com wrote: can you show stack traces next time it happens so we can see what the broker was

Re: Questions to broker architecture and setup, memory configuration

2014-03-31 Thread Tom_Z
ceposta wrote So this a little TL;DR... but I try answer some of your questions inline... Hi Christian, sorry, what does that mean? :-) TL, DR? ceposta wrote If I read correctly, you have only one instance running? No.. this is not a suitable setup for production. What happens if/when that