Random onServiceRemove calls even though broker still connected.

2009-09-08 Thread darrickc
Occasionally my client (with discovery turned on) will get the onServiceRemove method called even though the broker that has supposedly gone away is still connected and functioning properly. What causes these erroneous onServiceRemove calls, and is there a way to double check to make sure that we

How often does ActiveMQ discovery send a message?

2009-05-20 Thread darrickc
How often does the ActiveMQ discovery mechanism send a broadcast message? I'm getting reports that it is "flooding" the network which I find hard to believe. Can you give me an idea of how often and how much data is being sent whenever the discovery mechanism broadcasts that a broker is online? T

Re: Is it possible to setup lastImageSubscriptionRecoveryPolicy without activemq.xml configuration.

2009-04-10 Thread darrickc
= new PolicyMap(); PolicyEntry policy = new PolicyEntry(); policy.setSubscriptionRecoveryPolicy(new LastImageSubscriptionRecoveryPolicy()); policyMap.setDefaultEntry(policy); broker.setDestinationPolicy( policyMap ); Then when you subscribe use ?consumer.retroactive=true at the end of your topic str

Re: Is it possible to setup lastImageSubscriptionRecoveryPolicy without activemq.xml configuration.

2009-04-10 Thread darrickc
Sounds like probably not :( darrickc wrote: > > Currently I am using activemq without the activemq.xml config file. I > would like to use the lastImageSubscriptionRecoveryPolicy feature with my > retroactive subscription without using the configuration file. Is this > possibl

Is it possible to setup lastImageSubscriptionRecoveryPolicy without activemq.xml configuration.

2009-04-06 Thread darrickc
Currently I am using activemq without the activemq.xml config file. I would like to use the lastImageSubscriptionRecoveryPolicy feature with my retroactive subscription without using the configuration file. Is this possible? I'm thinking maybe tacking on something like "?consumer.retroactive=true+

Re: Can someone point me to an example of using a ConsumerEventSource

2009-02-09 Thread darrickc
> Blog - http://www.nighttale.net > > > On Fri, Feb 6, 2009 at 11:49 PM, darrickc wrote: > >> >> I have an embedded broker in my server process and I'd like to know in my >> server process when a client subscribes to a certain topic. Through >> reading

Can someone point me to an example of using a ConsumerEventSource

2009-02-06 Thread darrickc
I have an embedded broker in my server process and I'd like to know in my server process when a client subscribes to a certain topic. Through reading these forums I've figured out that using a ConsumerEventSource is the way to go. When I get an event I can figure out how many consumers there are f

Is it possible to use SSL without having a client.ts and client.ks file

2008-12-03 Thread darrickc
I was able to get SSL working by placing the appropriate client.ts and client.ks files on the client's machine and pointing the VM to them. My question is is it possible to use SSL without installing the client.ts and client.ks files on every machine that the client runs on? Can I create a .ts and

Re: Web console not working with embedded broker setup via java with no xml configuration.

2008-11-26 Thread darrickc
Ahh, ok. Thank you for your help I'll work with your suggestions! James.Strachan wrote: > > 2008/11/26 darrickc <[EMAIL PROTECTED]>: >> >> I'm confused. It seems that the WebConsole-README.txt that comes with >> ActiveMQ 5.1 contradicts what you say...

Re: Web console not working with embedded broker setup via java with no xml configuration.

2008-11-26 Thread darrickc
figure it from Java > > Cheers > > -- > Dejan Bosanac > > > http://www.ttmsolutions.com - get a free ActiveMQ user guide > > ActiveMQ in Action - http://www.manning.com/snyder/ > Scripting in Java - http://www.scriptinginjava.net > > >

Web console not working with embedded broker setup via java with no xml configuration.

2008-11-25 Thread darrickc
I have an embedded broker completely configured through java code (no deployable xml files). When I point my browser to the web console I just get a 404, and an lsof shows that nothing is listening on 8161. Is it possible to use the web console with a broker setup only with java code? I'm fine wit