Re: jdbcPersistenceAdapter enlightenment

2007-02-05 Thread Rob Davies
Hi Peter, This means there is a known issue with very high volume Queues/ durable subscribers in 4.x that is being addressed in the next release. I wouldn't recommend you go with the next release in production however, not all the functionality is tied down yet. You could either help contri

Re: ::cms::Message class and properties

2007-02-05 Thread Lalit Nagpal
Thanks Nate - Thats exactly what I am trying to do now :( . Lalit Nagpal CSA, SunGard nmittler wrote: > > Unfortunately the CMS and JMS APIs do not provide this capability > directly. > What you could do is make it a string property and encode something at the > beginning (e.g. "int:123"

Re: Activemq used as a logging system

2007-02-05 Thread Adrian Co
You might also want to take a look at the JmsLogAppender or JndiJmsLogAppender http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/util/JmsLogAppender.java?view=markup http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/main/java/org/apac

Re: ActiveMQConnection.createConnectionConsumer bug?

2007-02-05 Thread elliottjf
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 construction, the ConsumerInfo options where getting lost. > > Upon removing the errant 'this.' and

Message Groups and multiple brokers

2007-02-05 Thread GaryG
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 problem I'm seeing is that if I run 2 brokers,

Re: Pausing Transmission

2007-02-05 Thread jkurtz
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 measured and controlled on servicer hosting the

RE: durable subscriptions

2007-02-05 Thread Suchitha Koneru \(sukoneru\)
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 ? Is it in conf/context.xml of Tomcat Or in webappname/META-INF/context.xml

RE: activemq cpp and CMSException

2007-02-05 Thread Timothy Bish
This has already been addressed in trunk, it does now inherit from std::exception. - Timothy A. Bish [EMAIL PROTECTED] > -Original Message- > From: Teemu Torma [mailto:[EMAIL PROTECTED] > Sent: Monday, February 05, 2007 5:58 PM > To: users@a

Re: jdbcPersistenceAdapter enlightenment

2007-02-05 Thread Peter Leonard
Does this mean "this is a known bug in 4.1 and has been fixed", or "take 4.2-snapshot for a spin, and maybe it helps?" We're running 4.1 in production, and this and other memory leaks (e.g. the whole issue revolving around disconnect() not working with durable topics) are causing major probl

activemq cpp and CMSException

2007-02-05 Thread Teemu Torma
A quick question. Is there a reason why CMSException does not derive from std::exception? Right now it introduces a parallel exception hierarchy which is a bit annoying. Teemu

Re: Queue question

2007-02-05 Thread GaryG
[backfilling some messages] 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 task is tied

Re: Queue question

2007-02-05 Thread GaryG
[backfilling some messages] > James, > > I appreciate your help on this. > > To clarify, here's the gist of what I'm trying to accomplish: > > Essentially it is a worker farm that is controlled via a single master > controller. There are some Topics on which status information is > published b

Failover not working with distributed queue

2007-02-05 Thread dege
I have applications A and B running in two different instances of Resin. Each has a broker. Application A puts messages onto a distributed queue and application B consumes the messages using message driven pojo's. Both are configured using Spring 2.0 What we've found is that when we stop Applic

Re: jdbcPersistenceAdapter enlightenment

2007-02-05 Thread Sandeep Chayapathi
Hi Rob, does that mean the persistence is broken in 4.1 ? will you be updating the 4.2 release time line ? For now, I want to measure the performance impact of using persistence and also see if it would solve the out of memory problem. - Sandeep -- View this message in context: http://www.nab

SocketException with "no such device" msg on multicast configuration

2007-02-05 Thread eylon
Hello, I've tried to configure 2 brokers, having one of them listen to a multicast address and the other advertise itself using discovery. This configuration is described http://incubator.apache.org/activemq/what-is-the-difference-between-discovery-multicast-and-zeroconf.html here while I tr

Re: jdbcPersistenceAdapter enlightenment

2007-02-05 Thread Rob Davies
Hi Sandeep, I think using the latest snapshot for 4.2 will help: http://people.apache.org/repo/m2-snapshot-repository/org/apache/ activemq/apache-activemq/4.2-incubator-SNAPSHOT/ cheers, Rob On 5 Feb 2007, at 15:20, Sandeep Chayapathi wrote: Hi all, As a followup to these questions: h

jdbcPersistenceAdapter enlightenment

2007-02-05 Thread Sandeep Chayapathi
Hi all, As a followup to these questions: http://http://www.nabble.com/how-to-set-the-message-of-the-broker-will-store-in-the-mySQL-only-tf2957449.html#a8294916 how to set the message... http://www.nabble.com/Queue-Memory-Limits-tf1857084.html Queue Memory limit http://www.nabble.com/Async-Ex

Re: 4.1 release on public maven2 repository?

2007-02-05 Thread James Strachan
On 2/5/07, Fredrik Jonson <[EMAIL PROTECTED]> wrote: Hi, Is the activemq 4.1 release available on any public maven 2 repository like ibiblio? Yes. There are links to the repos on the download page. http://activemq.apache.org/download.html e.g. http://people.apache.org/repo/m2-incubating-re

Re: Testing "maximumRedeliveries"... MDP does not receives messages once an Exception is thrown...

2007-02-05 Thread Nilantha
Nilantha Jayalath wrote: > > > Thanks Christopher I did as you suggested but still the consumer stop > receiving after the first exception. Only way to get those remaining > messages consumed is restart the app with consumers again and again. Each > time I see rediliveryCount has been increased

4.1 release on public maven2 repository?

2007-02-05 Thread Fredrik Jonson
Hi, Is the activemq 4.1 release available on any public maven 2 repository like ibiblio? I found a message from last year saying something about it being a incubator issue. Isn't that resolved yet? TIA & regards, -- Fredrik Jonson

Re: Stomp Disconnects

2007-02-05 Thread James Strachan
On 2/4/07, blueshed <[EMAIL PROTECTED]> wrote: Hi there, I'm using Stomp from python and have written my own implementation using twisted. Works a treat. Great! BTW do you have any plans to open source your twisted python stomp client? It'd be good to refer to it on the Stomp site so pythonist

Re: web-console with non-embedded broker

2007-02-05 Thread robparrott
HI James, Can you describe in "lite" detail what would be needed to perform this refactoring? What classes, etc.? This would help me (and others, I suppose) assess whether I might take it on. thanks, rob James.Strachan wrote: > > Currently the Web Console is directly using the embedded bro

JMX preventing connector from stopping.

2007-02-05 Thread mers
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 behaviour? -- View this message in context: ht

Re: web-console with non-embedded broker

2007-02-05 Thread James Strachan
Currently the Web Console is directly using the embedded broker (as it was the simplest way to get started); we'd need to do a bit of refactoring to be able to use the web console to connect to a remote broker over JMX. It shouldn't be too hard to do if anyone fancies taking a stab at a patch? ht

Re: ::cms::Message class and properties

2007-02-05 Thread Nathan Mittler
Unfortunately the CMS and JMS APIs do not provide this capability directly. What you could do is make it a string property and encode something at the beginning (e.g. "int:123"), this way the application on the other end knows how to decode it. On 2/5/07, Lalit Nagpal <[EMAIL PROTECTED]> wrote:

Re: Pausing Transmission

2007-02-05 Thread James Strachan
On 2/3/07, jkurtz <[EMAIL PROTECTED]> wrote: We are interested in pausing the message transmission periodically from outside of Active MQ, while allowing incoming messages to accumulate. Modifying the source code is an option, and we are looking at the transport class. Does anyone know if this

Re: Can't set prefetch size!

2007-02-05 Thread magic.moose
Yes, I just wanted to show config w/o prefetch stuff. Anyway, setting vm://localhost?jms.prefetchPolicy.all, or policies for queues, or for particular consumer via URL it all failed. So did setting of resource adapter properties according to http://activemq.apache.org/resource-adapter-properties.h

::cms::Message class and properties

2007-02-05 Thread Lalit Nagpal
Hi Just observed the ::cms::Message header file in CMS API - latest trunk code The class gives different overloaded methods to store properties as int / float / string / double etc it also gives all the getter methods for retrieving properties for int / float and so on . In my code