Re: Defining queue in activemq.xml

2007-06-21 Thread Jonas Lim
Hi Tom, Here's the link on startup destinations http://activemq.apache.org/configure-startup-destinations.html Regards, Jonas Tom Samplonius wrote: How do you define a queue in activemq.xml? I looked at the XSD and the best that I could come up with is: But this causes a null

Re: UDP buffer problem

2007-06-21 Thread Tom Samplonius
- "James Strachan" <[EMAIL PROTECTED]> wrote: > So we need a working reliable layer on top of UDP which is capable of > handling re-requests of missing packets etc. The current code is work ... I think that is called TCP. Why UDP at all? Is this for multicasting? Otherwise, I can't see

Defining queue in activemq.xml

2007-06-21 Thread Tom Samplonius
How do you define a queue in activemq.xml? I looked at the XSD and the best that I could come up with is: But this causes a null pointer exception. It is very hard to find documentation on this type of thing. I've seen an example on the web page, but I can't find it now. T

Behaviour of composite destination when a target destination was not created

2007-06-21 Thread panu
Hi All, I recently used the composite destination feature and it is nice (help us simplify the problem a lot). However, I notice that if a target destination was not created the message broker does not create it either. I use version 4.2 (SNAPSHOT). For instance, if I set a composiste destina

Re: How to send file using ActiveMQ

2007-06-21 Thread Gaurav Hariani
We have a similar need and after trying a number of approaches we settled on the following approach: The producer creates a file in a directory where it can be served by a webserver e.g. ~gaurav/public_html/large_messages/xyzABC123.zip Then the producer sends the URL of this file as a text mess

Re: How to have a highly available and scalable setup using network of brokers?

2007-06-21 Thread Joel Schaubert
Nicky Sandhu wrote: > > > Joel Schaubert wrote: >> >> What I have found during my testing of the network of brokers is that you >> do get this behaviour. If I write 100 message to broker A, then I kill >> it, then I subscribe to broker B, I can read all of the messages. (and >> various versi

Re: How to send file using ActiveMQ

2007-06-21 Thread James Strachan
On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, Can you let me know how to send large file using ActvieMQ ? Yes. We've supported JMS streams for a few years now, though in 5.x there's an even better mechanism, Blob Messages which supports out of band and external file systems/web

Re: How to send file using ActiveMQ

2007-06-21 Thread Kit Plummer
We're using JMS to carry 100-1000MB files. [EMAIL PROTECTED] wrote: Hi, Can you let me know how to send large file using ActvieMQ ? Thanks

How to send file using ActiveMQ

2007-06-21 Thread [EMAIL PROTECTED]
Hi, Can you let me know how to send large file using ActvieMQ ? Thanks -- View this message in context: http://www.nabble.com/How-to-send-file-using-ActiveMQ-tf3960326s2354.html#a11238250 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to have a highly available and scalable setup using network of brokers?

2007-06-21 Thread Nicky Sandhu
Joel Schaubert wrote: > > What I have found during my testing of the network of brokers is that you > do get this behaviour. If I write 100 message to broker A, then I kill > it, then I subscribe to broker B, I can read all of the messages. (and > various versions of this scenario tested in our

Re: How to have a highly available and scalable setup using network of brokers?

2007-06-21 Thread Nicky Sandhu
James.Strachan wrote: > > It'd be interesting to see what kinds of throughput, RAM & CPU usage > you get in your environment; you might find a single broker can easily > handle that load on a decent 2-4 way blade etc > > Wanted to make sure I have options before painting myself into a corner.

Re: How to have a highly available and scalable setup using network of brokers?

2007-06-21 Thread Joel Schaubert
Nicky Sandhu wrote: > > > Joel Schaubert wrote: >> >> What are the extra benefits of going to the more complicated setup of >> pairs of master/slave's behind the load balancer instead of a flat space >> of a network of brokers? >> > If a master were to fail then the slave would connect as a

Re: reading message size using queue browser

2007-06-21 Thread keneida
James.Strachan wrote: > > On 6/21/07, keneida <[EMAIL PROTECTED]> wrote: >> >> >> James.Strachan wrote: >> > >> > On 6/20/07, keneida <[EMAIL PROTECTED]> wrote: >> >> >> >> using queue browser i can see all the parameters of the messages. >> However >> >> doesnt matter what I send the "size" pa

Re: Orphan connections from .NET clients

2007-06-21 Thread Jim_Cross
If not, here's a quick class I hacked together to stop the inactive connections - just give your JMX url as a command line argument. Not guarantees provided with this code! package com.ubs.eq.speed; import java.util.Hashtable; import java.util.Set; import javax.management.MBeanServerConnection

Re: reading message size using queue browser

2007-06-21 Thread James Strachan
On 6/21/07, keneida <[EMAIL PROTECTED]> wrote: James.Strachan wrote: > > On 6/20/07, keneida <[EMAIL PROTECTED]> wrote: >> >> using queue browser i can see all the parameters of the messages. However >> doesnt matter what I send the "size" parameter is always 0. > > What "size" parameter? > > -

Re: Basic Spring+AMQ+XBean+embededbroker problem

2007-06-21 Thread James Strachan
On 6/21/07, Paul Smith <[EMAIL PROTECTED]> wrote: On 21/06/2007, at 5:55 PM, James Strachan wrote: > This line was the giveaway... > > > On 6/21/07, Paul Smith <[EMAIL PROTECTED]> wrote: > [snip] > >> Caused by: java.lang.ClassNotFoundException: >> org.apache.xbean.spring.context.v2c.XBeanNames

Re: Actually getting Stomp support to a usable state...

2007-06-21 Thread James Strachan
On 6/21/07, Tom Samplonius <[EMAIL PROTECTED]> wrote: - "James Strachan" <[EMAIL PROTECTED]> wrote: ... > Just use the JAAS plugin in ActiveMQ and you're good to go; the Stomp > code uses whatever security plugin you're using As has been discussed, this is broken, and has been since 4.1.

Re: Basic Spring+AMQ+XBean+embededbroker problem

2007-06-21 Thread Paul Smith
On 21/06/2007, at 5:55 PM, James Strachan wrote: This line was the giveaway... On 6/21/07, Paul Smith <[EMAIL PROTECTED]> wrote: [snip] Caused by: java.lang.ClassNotFoundException: org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler at java.net.URLClassLoader$1.run(URLClassLoa

Re: Basic Spring+AMQ+XBean+embededbroker problem

2007-06-21 Thread James Strachan
This line was the giveaway... On 6/21/07, Paul Smith <[EMAIL PROTECTED]> wrote: [snip] Caused by: java.lang.ClassNotFoundException: org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessControl

Re: Orphan connections from .NET clients

2007-06-21 Thread Jim_Cross
Gaurav, Did you ever find a workaround for this? I've hit the same problem with NMS and ActiveMQ 4.1.1 (also seems to affect 4.1.0 but not 4.0.2), and it looks like it could be a show stopper for us. Cheers, Jim Gaurav Hariani-2 wrote: > > yes > > Hiram Chirino wrote: >> Odd. look like a bu

Re: reading message size using queue browser

2007-06-21 Thread keneida
James.Strachan wrote: > > On 6/20/07, keneida <[EMAIL PROTECTED]> wrote: >> >> using queue browser i can see all the parameters of the messages. However >> doesnt matter what I send the "size" parameter is always 0. > > What "size" parameter? > > -- > James > --- > http://macstrac.blogspo