RE: durable subscriptions

2007-02-06 Thread Suchitha Koneru \(sukoneru\)
Thank you so much James. Which version of active mq support durable subscriptions, As of now, I am using the following jars , in regard to active mq activemq-core-4.0.1.jar backport-util-concurrent-2.1.jar geronimo-j2ee-management_1.0_spec-1.0.jar geronimo-jms_1.1_spec-1.0.jar incubator-activemq-

Re: web-console with non-embedded broker

2007-02-06 Thread James Strachan
On 2/5/07, robparrott <[EMAIL PROTECTED]> wrote: HI James, Can you describe in "lite" detail what would be needed to perform this refactoring? What classes, etc.? I took a look at my crappy code and was so embarrassed I've done most of the refactoring for you :). Its now very nearly working f

RE: failed to checkpoint a message store?

2007-02-06 Thread Nilantha
If you are using JDBC persistence this property should be under "DataSource" definition in activemq.xml ptomsic wrote: > > hmm, on what bean in the xbeans file? > i've only got the following set up: > > > > > > where would i apply your suggestion? > > > Nilantha wrote: >> >> Probab

RE: failed to checkpoint a message store?

2007-02-06 Thread ptomsic
hmm, on what bean in the xbeans file? i've only got the following set up: where would i apply your suggestion? Nilantha wrote: > > Probably this would help... > > Try setting > if you have set > as "true" in your data source configuration. > > see > http://www.nabble.com/DB-connectio

Re: Problems reconnecting when the broker break down

2007-02-06 Thread James Strachan
On 2/6/07, cafe <[EMAIL PROTECTED]> wrote: so, you recommend to use for JmsTemplate a PooledConnectionFactory and for DefaultMessageListenerContainer a simple ActiveMQConnectionFactory? do you agreed? Yes. -- James --- http://radio.weblogs.com/0112098/

Re: Problems reconnecting when the broker break down

2007-02-06 Thread cafe
so, you recommend to use for JmsTemplate a PooledConnectionFactory and for DefaultMessageListenerContainer a simple ActiveMQConnectionFactory? do you agreed? -- View this message in context: http://www.nabble.com/Problems-reconnecting-when-the-broker-break-down-tf3182279.html#a8832235 Sent fro

Re: Problems reconnecting when the broker break down

2007-02-06 Thread James Strachan
On 2/6/07, cafe <[EMAIL PROTECTED]> wrote: thx James I forget the failover word. "FWIW there's generally no point using a PooledConnectionFactory when using Springs DefaultMessageListenerContainer. The PooledConnectionFactory is really mostly for using Spring's JmsTemplate (i.e. for sending). F

Re: Problems reconnecting when the broker break down

2007-02-06 Thread cafe
thx James I forget the failover word. "FWIW there's generally no point using a PooledConnectionFactory when using Springs DefaultMessageListenerContainer. The PooledConnectionFactory is really mostly for using Spring's JmsTemplate (i.e. for sending). For consuming it does not do any pooling." I'

Re: Message Groups and multiple brokers

2007-02-06 Thread GaryG
James.Strachan wrote: > >> Does this mean that MessageGroups only work when there's only one broker, >> and don't work in Master-Slave broker configuration?? > > They work with a single broker or with Master-Slave. But they don't > work with networks of brokers. > > Then what am I doing wro

Re: Problems reconnecting when the broker break down

2007-02-06 Thread James Strachan
On 2/6/07, cafe <[EMAIL PROTECTED]> wrote: In my app I'm using activeMQ4.1.0 and spring 2.0. and I have configured a DefaultMessageListenerContainer and a PooledConnectionFactory. FWIW there's generally no point using a PooledConnectionFactory when using Springs DefaultMessageListenerContainer

Problems reconnecting when the broker break down

2007-02-06 Thread cafe
In my app I’m using activeMQ4.1.0 and spring 2.0. and I have configured a DefaultMessageListenerContainer and a PooledConnectionFactory. And doing some test if I restart my broker the app is not capable of reconnect and I get the following exception: org.springframework.jms.listener.DefaultMes

RE: activemq-cpp (stomp) asynchronous send

2007-02-06 Thread Bish, Tim
ActiveMQ is a TLP now. Just remove the word incubator from the SVN path on the website and you should be all set. I'll update the page in a bit. > -Original Message- > From: masterov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 06, 2007 11:06 AM > To: users@activemq.apache.org >

RE: activemq-cpp (stomp) asynchronous send

2007-02-06 Thread masterov
masterov wrote: > > connectionFactory->setUseAsyncSend(true); > FYI, this was fixed per Timothy Bish: https://issues.apache.org/activemq/browse/AMQCPP-63 Thanks Timothy! I can't test it however, since I can't check out the trunk, the links on this page don't work: http://activemq.apache.org/

Re: catching exceptions on login

2007-02-06 Thread James Strachan
On 2/6/07, miniman <[EMAIL PROTECTED]> wrote: Transport listner sounds good, do you have an example of this ? Am afraid not but its a pretty trivial listener to implement. -- James --- http://radio.weblogs.com/0112098/

Re: catching exceptions on login

2007-02-06 Thread miniman
Transport listner sounds good, do you have an example of this ? James.Strachan wrote: > > What do you want to do if the broker is down? Let the user know about > it and keep waiting until a connection is established? > > The simplest solution today is to use auto-reconnect... > http://activem

Re: Can't set prefetch size!

2007-02-06 Thread James Strachan
Incidentally in another thread someone spotted a bug that was affecting the setting of custom consumer configurations in the RA, so the latest 4.2-SNAPSHOT could help your issue On 2/5/07, magic.moose <[EMAIL PROTECTED]> wrote: Yes, I just wanted to show config w/o prefetch stuff. Anyway, setti

Re: JMX preventing connector from stopping.

2007-02-06 Thread James Strachan
On 2/5/07, mers <[EMAIL PROTECTED]> wrote: I'm stopping a broker's TransportConnector with the connector's stop() method. If JMX is disabled, stopping the connector correctly fires an active connection's ExceptionListener. If JMS is enabled, the Listener doesn't get fired. Is this expected behav

Re: catching exceptions on login

2007-02-06 Thread James Strachan
What do you want to do if the broker is down? Let the user know about it and keep waiting until a connection is established? The simplest solution today is to use auto-reconnect... http://activemq.apache.org/how-can-i-support-auto-reconnection.html then the createConnection() method will block u

catching exceptions on login

2007-02-06 Thread miniman
All if i have a client which i want to catch an exception is the client is unable to connect. So if the activemq is down i still want the client to work but just display a message that the host is down. When i try // Create a Connection Connection connection = connectionFactory.c

Re: Message Groups and multiple brokers

2007-02-06 Thread James Strachan
On 2/6/07, GaryG <[EMAIL PROTECTED]> wrote: I started playing around with Message Groups and have a bunch of new questions: 1. If I'm understanding this correctly, Message Groups are tying groupIDs to a specific consumer of the Queue. However, this mapping is private to the broker. So, the p

Re: Queue question

2007-02-06 Thread James Strachan
On 2/5/07, GaryG <[EMAIL PROTECTED]> wrote: GaryG wrote: > > > On 2/5/07, Givental, Gary wrote: >> Ah yes, I should have clarified that :) >> >> The nature of the applications makes that impossible. We need to >> ensure that A) all the tasks are processed in sequential order, B) >> each work ta

Re: durable subscriptions

2007-02-06 Thread James Strachan
On 2/6/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Thanks for the information. As per the JMS documentation , Sessions with durable subscriptions, should specify a Client Identifier I am using Java 1.5 and Tomcat 5.5.20 . Where should I specify the client identifier ? The code tha

Re: Pausing Transmission

2007-02-06 Thread James Strachan
On 2/6/07, jkurtz <[EMAIL PROTECTED]> wrote: The reason that the dispatch needs to be paused on the Server side is for a Quality of Service Broker to control the message dispatch if the network traffic gets to be too much. This is similar to the client Pre-Fetch Limit, except the messages are m

Re: ActiveMQConnection.createConnectionConsumer bug?

2007-02-06 Thread Rob Davies
Good catch! - committed to trunk SVN revision 504023 On 6 Feb 2007, at 02:33, elliottjf wrote: can somebody confirm if this is really a bug? if it is, it looks like a pretty serious one. elliottjf wrote: Okay, from what I can tell, when using the ra activation spec driven consumer con