Re: Confusing docs about disabling flow control

2012-01-31 Thread Jason Dillon
rise-activemq/#documentation > > Also see the persistence guide which has a full chapter on message cursors > http://fusesource.com/docs/broker/5.5/persistence/index.html > > > Hope this helps, > > > > Torsten Mielke > tors...@fusesource.com > tmie...@blogsp

Confusing docs about disabling flow control

2012-01-28 Thread Jason Dillon
Near the bottom of this page http://activemq.apache.org/producer-flow-control.html it shows: Disabling Flow Control A common requirement is to disable flow control so that message dispatching continues until all available disk is used up by pending messages (whether persistent or non persisten

Re: Dynamic SSL certs

2012-01-24 Thread Jason Dillon
This might help, we are using something similar to this to install new trust certificates dynamically into ssl context used by activemq. http://jcalcote.wordpress.com/2010/06/22/managing-a-dynamic-java-trust-store/ --jason On Jan 23, 2012, at 11:21 PM, Dejan Bosanac wrote: > Hi James, > > t

Re: How to tell why message sent to DLQ?

2012-01-21 Thread Jason Dillon
n for DLQ delivery? Something like a "dlqDeliveryReason" which could be "expired" or "failure" and on "failure" you can go look at "dlqDeliveryFailureCause" for more detail. Are there any other reasons why a message might be sent to the DLQ? --

Re: How to tell why message sent to DLQ?

2012-01-21 Thread Jason Dillon
n 20, 2012, at 2:20 AM, Gary Tully wrote: > org.apache.activemq.broker.region.virtual.VirtualTopicInterceptor#send > > which calls: org.apache.activemq.broker.region.DestinationFilter#send > > On 20 January 2012 01:48, Jason Dillon wrote: >> Can you point me at the c

Re: How to tell why message sent to DLQ?

2012-01-19 Thread Jason Dillon
re/src/test/java/org/apache/activemq/MessageListenerRedeliveryTest.java?r1=1084175&r2=1084174&pathrev=1084175 > > On 19 January 2012 19:09, Jason Dillon wrote: >> Is this change in 5.5.1 and enabled by default? >> >> If so I don't see any of these properti

Re: How to tell why message sent to DLQ?

2012-01-19 Thread Jason Dillon
rg/jira/browse/AMQ-3236 and the associated > commits. We may be able to build on that. > > On 19 January 2012 05:58, Jason Dillon wrote: >> Is there any easy way to get information about why a message had been sent >> to ActiveMQ.DLQ? >> >> I'm seeing a bunch

How to tell why message sent to DLQ?

2012-01-18 Thread Jason Dillon
Is there any easy way to get information about why a message had been sent to ActiveMQ.DLQ? I'm seeing a bunch of messages sent to a virtual topic (as indicated by OriginalDestination property while browsing the ActiveMQ.DLQ via visualvm, which end up in the DLQ. Really unsure why any message

Re: Reply:Do policy map entries aggregate?

2012-01-16 Thread Jason Dillon
test.>" or "test.*" matches "test.example"? --jason On Jan 16, 2012, at 5:18 AM, Gary Tully wrote: > they don't aggregate. There is an best match, and the default takes > the unmatched case. > > On 16 January 2012 03:28, Jason Dillon wrote: >

Re: Reply:Do policy map entries aggregate?

2012-01-15 Thread Jason Dillon
On Jan 15, 2012, at 6:38 PM, SuoNayi wrote: > The last policy will be applied. Um, this doesn't really answer the question I asked... What does "last" mean in this context? :-\ --jason > At 2012-01-16 04:01:00,"Jason Dillon" wrote: >> I'm w

Do policy map entries aggregate?

2012-01-15 Thread Jason Dillon
I'm wondering if destination policy map entries aggregate configuration? For example: Will a queue named "test.example" have useCase=false and optimizedDispatch=true? Same for the default policy entry, will that get included to configure

Re: PolicyMap api is really bad :-(

2012-01-11 Thread Jason Dillon
On Jan 11, 2012, at 11:46 AM, Dejan Bosanac wrote: > there are a lot of examples on how to use destination in unit tests. For > example, how to set default destination policy see > > https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/

PolicyMap api is really bad :-(

2012-01-10 Thread Jason Dillon
Hiya, I'm trying to programmatically configure the destination policies via PolicyMap and I'm not exactly sure how this component is expected to behave. Looks like a lot of this behavior is magical (eh evil?) xbean stuff. To get around this and provide a better API I created this: public clas

Re: nio+ssl w/programatic {key|trust}store configuration

2012-01-05 Thread Jason Dillon
On Jan 5, 2012, at 2:58 AM, Dejan Bosanac wrote: >> Why then do the NIO[SSL]* bits even have methods with *SocketFactory bits, >> is this due to extending the TCP bits? > > It's used on the client side to create socket. I thought the client-side was expected to use the regular ssl transport? >

Re: Virtual topic subscriber expiration?

2012-01-04 Thread Jason Dillon
On Jan 4, 2012, at 4:36 AM, Dejan Bosanac wrote: > There's no explicit setup for that as those are just regular queues from > which no one consumes. The simple manual solution is to just delete unused > queues and virtual topic will stop sending messages there > > Some things you can do to automat

Re: nio+ssl w/programatic {key|trust}store configuration

2012-01-04 Thread Jason Dillon
On Jan 4, 2012, at 5:41 AM, Dejan Bosanac wrote: > nio+ssl should work exactly the same as the plain ssl transport, so this > SslBrokerService enhancement you're working is totally valid and we should > have it. Okay I think I can make a simple test to show working ssl and non-working nio+ssl the

Re: nio+ssl w/programatic {key|trust}store configuration

2012-01-03 Thread Jason Dillon
nac - http://twitter.com/dejanb > - > The experts in open source integration and messaging - http://fusesource.com > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Fri, Dec 30, 2011 at 10:46 AM, Jason Dillon wrote: > Has

Re: Virtual topic subscriber expiration?

2012-01-03 Thread Jason Dillon
On Jan 3, 2012, at 3:25 AM, Dejan Bosanac wrote: > The messages will be copied to relevant queues only if there's a consumer > there. Is there any specific problem you're experiencing. This doesn't really line up with my understanding for how virtual topics work at all. If my client is offline t

Virtual topic subscriber expiration?

2011-12-31 Thread Jason Dillon
Does the durable subscriber expiration also affect virtual topic subscribers? http://activemq.apache.org/manage-durable-subscribers.html Or is there another way to control the expiration of subscribers for virtual topics? --jason

Re: Possible to add new transport connector post broker start?

2011-12-13 Thread Jason Dillon
return result; } } --jason On Dec 8, 2011, at 7:09 PM, Jason Dillon wrote: > I tried this and found out that calling addConnector() post-start won't do > anything. But I can make a tiny sub-class that will: > >public class BrokerService2 >

Re: Possible to add new transport connector post broker start?

2011-12-08 Thread Jason Dillon
ing a connector post-start like this? --jason On Dec 8, 2011, at 3:50 PM, Jason Dillon wrote: > Is it possible to add a new transport connector to a broker post starting the > BrokerService? > > I'd like to start up a broker w/o any transports for vm:// use only, but may

Possible to add new transport connector post broker start?

2011-12-08 Thread Jason Dillon
Is it possible to add a new transport connector to a broker post starting the BrokerService? I'd like to start up a broker w/o any transports for vm:// use only, but may need to configure a transport (tcp or ssl) after the application is already up and using the broker, so it would be a pita to

Re: Overhead of component creation to send message

2011-12-08 Thread Jason Dillon
rs. See this FAQ entry for more > detail: > http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html > " > > Hope this clarifies things. > > Torsten Mielke > tors...@fusesource.com > tmie...@blogspot.com > > > On Dec 8, 2011, at

Re: Overhead of component creation to send message

2011-12-07 Thread Jason Dillon
t; 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 - http://www.nighttale.net > > > On Fri, Nov 18, 2011 at 1:30 AM, Jason Dil

ActiveMQ thread usage

2011-11-28 Thread Jason Dillon
How accurate is this document wrt ActiveMQ 5.5.1? Is there a better place to find relevant details about thread usage/meaning/configuration? http://fusesource.com/wiki/display/ProdInfo/Understanding+the+Threads+Allocated+in+ActiveMQ I see threads with names like: ActiveMQ Transport tcp:... Act

Re: Overhead of component creation to send message

2011-11-22 Thread Jason Dillon
www.nighttale.net > > > On Fri, Nov 18, 2011 at 1:30 AM, Jason Dillon wrote: > >> I'm wondering what sort of overhead there is to create and then close) the >> components needed to send a message, specifically after you have a started >> connection and using a

Overhead of component creation to send message

2011-11-17 Thread Jason Dillon
I'm wondering what sort of overhead there is to create and then close) the components needed to send a message, specifically after you have a started connection and using a vm:// transport. I'm working on implementing distributed eventing for a server which already has its own eventing built-in

Re: ActiveMQ and SSL

2011-11-10 Thread Jason Dillon
On Nov 10, 2011, at 7:30 AM, Eugene wrote: > I am trying to work into that actually. I can't find the sources for the > org.apache.activemq.selector package - it's empty in the 5.5.1 version on > the SVN. > > Can you tell me where they are? IIRC they are generated from activemq-core/src/main/gram

Re: Problems with "ActiveMQ Performance Module Users Manual"

2011-11-09 Thread Jason Dillon
t; - > The experts in open source integration and messaging - http://fusesource.com > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Tue, Nov 8, 2011 at 9:16 PM, Jason Dillon wrote: > >> I was looking

Re: HTTP transport

2011-11-08 Thread Jason Dillon
BTW... can anyone explain what the units of these value are? Is "System Average Throughput" per-??? --jason On Nov 8, 2011, at 1:39 PM, Jason Dillon wrote: > FYI, some performance numbers I collected if any one is interested. > > * * * > > Used default

Re: HTTP transport

2011-11-08 Thread Jason Dillon
FYI, some performance numbers I collected if any one is interested. * * * Used default configuration of http://activemq.apache.org/activemq-performance-module-users-manual.html (slightly massaged pom to get it to build, yay maven) Run on quad-core i7 2.93 mac 10.7.2 Apache Maven 3.0.3 (r1075

Problems with "ActiveMQ Performance Module Users Manual"

2011-11-08 Thread Jason Dillon
I was looking at http://activemq.apache.org/activemq-performance-module-users-manual.html to see how well (or poorly) the http transport was over the tcp transport and I've run into some issues just following the instructions. svn co http://svn.apache.org/repos/asf/activemq/sandbox/activemq-per

Re: HTTP transport

2011-11-08 Thread Jason Dillon
gt;> >> Could use a description of it's behaviour which that page does not provide. >> >> James >> >> On 8 November 2011 01:45, Jason Dillon wrote: >> >>> ... is this any good? I keep getting folks in the backseat making >>> tunneling

HTTP transport

2011-11-07 Thread Jason Dillon
... is this any good? I keep getting folks in the backseat making tunneling over HTTP a meta-requirement. Are there any significant issues with using the http[s] transport in the activemq-optional module for this? Will use of it totally kill performance? Documentation is a bit weak here, I'v

How to configure URI given to network connected broker...

2011-07-14 Thread Jason Dillon
... for its connection back to the originating broker when using multicast discovery? I keep running into problems when the discovered broker attempts to connect back to the originating broker using a domain-name that the discovered broker can not resolve properly. In some cases I can set -Dja

Re: Error with ant -v producer

2007-06-12 Thread jason . dillon
Set JAVA_HOME to the Sun JDK --jason -Original Message- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Date: Tue, 12 Jun 2007 14:32:19 To:users@activemq.apache.org Subject: Error with ant -v producer I get rid of the /usr/bin/gij now it using Sun Java compiler but a new errors is a

Re: how do I know activeMQ is working

2007-06-11 Thread jason . dillon
Yup that is GNU java... And from what I can tell it doesn't work very well with most apps. Yet unfortunatly many linux distros come with that on the path which hoses many users. Use suns JVM and life will be much easier ;-) --jason -Original Message- From: "Bruce Snyder" <[EMAIL PROT

Re: is there a fix for MemoryBoundedQueue issue (INF-275) in AMQ 3.2.4

2007-03-27 Thread Jason Dillon
On Mar 28, 2007, at 12:46 AM, James Strachan wrote: On 3/26/07, rmoore <[EMAIL PROTECTED]> wrote: we are running geronimo 1.1.1 with AMQ 3.2.4 and have come across the issue that was reported and fixed in INF-275 (http://issues.apache.org/activemq/browse/AMQ-275). the bug shows that this

Re: [Spam: 5.0] Web console in version 4.2

2007-03-20 Thread Jason Dillon
Um... wtf does this have [Spam: 5.0] in the subject? --jason On Mar 20, 2007, at 4:06 PM, M. David Minnigerode wrote: Still trying here... did a clean svn co of trunk. Then mvn install. Still fails looking for the jetty 6.1-SNAPSHOT. Downloading: http://people.apache.org/repo/m2-incub

Re: backport-util-concurrent ?

2007-02-11 Thread Jason Dillon
If you just use the concurrent bits from 1.5, then you can use retrotranslator to take those 1.5 classes and run them on 1.4 with retrotranslator-runtime-n.n.n.jar and backport-util-concurrent- n.n.jar into the classpath of the application. So you could drop having the normal codebase using