BlobMessage

2009-04-16 Thread Lou Parisi
I am trying to send a BlobMessage with a file. I was able to get it to work with ftp URL. This seems to send the URL and then use FTP to get the file into the queue where I can then successfully write it out to a directory. If I try to use an InputStream or File object to create the message I ge

Oddness with durable subscribers and selectors

2009-04-16 Thread Michael S. Manley
I'm seeing something strange when I have durable subscribers on a topic with a selector specified. I'm using ActiveMQ 5.2.0 and STOMP in production. I'm seeing similar behavior with a local ActiveMQ built from trunk today (2009-04-16), however. 1) I set up a topic, 'msm.test'. 2) I establish 3

Why ActiveMQ, as opposed to a simple Queue/Mutex?

2009-04-16 Thread offby1
Tomorrow I am presenting my rationale for choosing an in-process message queue implementation, and I'm unable to articulate my reasoning. My co-designers are proposing that we implement a simple asynchronous queue using just a basic list of jobs and a mutex to control access, where I'm suggesting

Re: Changing the reference store for the AMQ Message Store

2009-04-16 Thread Dave Stanley
Hi Stefan, Thanks for the update, and I'm glad to hear things are running well so far in standalone mode. I don't have any good answers on why the win32 java service wrapper exhibits different behaviour. Some things that might be different are: 1) The java service wrapper will by default run und

failover not working on unplugging cable with http transport

2009-04-16 Thread Khurram Zaman
hi, I have a 3 machine setup in which I have configured a pure master slave broker topology. I have 1 client machine and 1 master and 1 slave. The client is using failover uri and it works good when I use tcp transport. When I switch to http transport, the problem is that failover doesnt happ

Re: DLQ per subscriber?

2009-04-16 Thread santony
Hi, Have you find any solution to your problem ? We are facing the same... 4 consumers on a topic. When redeliveryPolicy fail for one of them, the message is redirect to a DLQ. With no possibility to know exactly which one of the consumers is responsible. I look for advisory system to see if i

Re: Stomp ack:auto clears all remaining messages in the queue

2009-04-16 Thread mjustin
Hi Dejan, thanks for the reply. I have found a classpath problem, which caused a wrong version of StompConnection to be used (5.2 or an old 5.3 version). Now I see that the behaviour is like this: - first receive of 10 messages using Stomp: works fine - Queue displays remaining 8 messages (of 2

Re: Stomp ack:auto clears all remaining messages in the queue

2009-04-16 Thread Dejan Bosanac
Hi Michael, can you consume other ten messages afterwards? can you try to disconnect your current consumer, subscribe again and try to consume remaining messages? Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Stomp ack:auto clears all remaining messages in the queue

2009-04-16 Thread mjustin
Hello, I compared the behaviour of the JMS client (using the ProducerTool and ConsumerTool) and the behaviour of the Stomp client in Java. In both tests I start with 20 messages which I send to the queue TOOL.DEFAULT: call java -cp .;activemq-all-5.3-SNAPSHOT.jar ProducerTool --MessageCount=20

Re: distributed configuration with intermittent network connection

2009-04-16 Thread Andreas Gies
Hi there, if I am not missing the point, you could do that with a static route from m1 to m2. You should enable duplex = true, so that messages can go in both directions. This is important as the advisory messages need to go from m1 to m2 and vice versa. I have attached 2 files that con