Re: Sending a byte[] in a message

2007-10-02 Thread Rob Davies
You can send any object in an ObjectMessage that implements the java.io.Serializable interface. This includes amongst other things, arrays. So passing a byte[] via an object message is absolutely fine. Passing it via a ByteMessage is quicker! cheers, Rob http://rajdavies.blogspot.com/

ActiveMQ takes a long, long time to restart as NT service

2007-10-02 Thread naql
Hi there, I'm new to activeMQ 4.1.1 and trying to get it set up in our development box, where it must run as an NT service. I've used the TanukiSoftware wrapper before, so I was familiar with the process and had no problems. My trouble started when I started trying to configure activeMQ securi

Sending a byte[] in a message

2007-10-02 Thread Zagato
Hello everybody, i'm newbie with ActiveMQ,.. i have a very long String that i compress using BZIP2 with Java, this works perfect but i get a byte[] as the result of the compression, then i need to send this byte[] in a ObjectMessage, is this posible ? can somebody give a few tips !!! Thanks in adv

Spring-OSGi and Spring 2.0 schema configuration

2007-10-02 Thread Cody McCain
Has anyone attempted to package ActiveMQ as an OSGi bundle and configure a broker using Spring-OSGi? Using the Eclipse PDE, I used the "create plug-in from existing jar" wizard to dismantle and wrap the contents of activemq-all-5.0-SNAPSHOT.jar as an OSGi bundle. I have several questions as to

Re: Load Balancing Question

2007-10-02 Thread Ned Wolpert
Thanks, that was what I needed. (I also got a response from the activemessaging group too for this) On 10/2/07, Mario Siegenthaler <[EMAIL PROTECTED]> wrote: > I think you're issue is the prefetching of messages that is done by > ActiveMQ. Set the prefetchSize to 1 and it should work as you expect

Re: Load Balancing Question

2007-10-02 Thread Mario Siegenthaler
I think you're issue is the prefetching of messages that is done by ActiveMQ. Set the prefetchSize to 1 and it should work as you expect it. See http://activemq.apache.org/what-is-the-prefetch-limit-for.html Mario On 10/2/07, Ned Wolpert <[EMAIL PROTECTED]> wrote: > Folks- > > I'm trying to see

single broker + mysql + Attempting to acquire the exclusive lock to become the Master broker

2007-10-02 Thread j0llyr0g3r
Hey folks, i'm having real trouble here with mysql and activmq: When i start my (single!) broker i get an endless repitition of: INFO DefaultDatabaseLocker - Attempting to acquire the exclusive lock to become the Master broker INFO DefaultDatabaseLocker - Attempting to acqu

Load Balancing Question

2007-10-02 Thread Ned Wolpert
Folks- I'm trying to see how to best configure an ActiveMQ instance, but I seem to be getting stuck and can use the help. If there is a link that has the answer, or if you know the solution, please let me know. Here's the situation that is causing me grief 1) Start one queue client (ack=client)

Re: Crashing an AMQ producer in ~12 seconds

2007-10-02 Thread Rob Davies
reproduced it - am shaking out the problem at the mo On Oct 2, 2007, at 1:23 PM, WHIRLYCOTT wrote: On Oct 1, 2007, at 8:27 AM, Rob Davies wrote: I'm going to see if I can reproduce on OS/X Any luck? phil. -- Whirlycott

XMPP error in ActiveMQ 5 (FUSE Message Broker 5.0.0.2)

2007-10-02 Thread Fintan Bolton
I'm testing the version of ActiveMQ embedded in FUSE Message Broker 5.0.0.2, trying to get the XMPP protocol to work. After installing the binary distribution on Windows, I ran the ActiveMQ broker with the following command: > activemq With the default settings. The broker appears to start up

Re: Crashing an AMQ producer in ~12 seconds

2007-10-02 Thread WHIRLYCOTT
On Oct 1, 2007, at 8:27 AM, Rob Davies wrote: I'm going to see if I can reproduce on OS/X Any luck? phil. -- Whirlycott Philip Jacob [EMAIL PROTECTED] h

Re: [Question]Number of queues in one server which utilizes ActiveMQ

2007-10-02 Thread Rob Davies
there is no hard limitation as such - every Destination does incur some memory overhead in the broker, but it will be of the order of 1kb. On Oct 2, 2007, at 8:44 AM, logor wrote: Hello all. I have a quick and simple question. Is there a limitation on how many queues one can create on a s

[Question]Number of queues in one server which utilizes ActiveMQ

2007-10-02 Thread logor
Hello all. I have a quick and simple question. Is there a limitation on how many queues one can create on a server with ActiveMQ running? Thanks. -- View this message in context: http://www.nabble.com/-Question-Number-of-queues-in-one-server-which-utilizes-ActiveMQ-tf4553479s2354.html#a12994339

Using ApacheMQ with SJSAS

2007-10-02 Thread David Lloyd
Hi There, I want to be able to use ApacheMQ with SJSAS (or Glassfish), however I'm not quite certain how to go about it. I'll state what I want to do, what parameters I have and then what I have read or done: * Specifically, I have some PHP and Perl clients which will need to speak with t