Re: How to use TransportListener with FailoverTransport

2007-11-16 Thread Rob Davies
Hi Jason, on initialization of the transport with no brokers - you say it hangs ? - is that at the transport (tcp) level ? cheers, Rob http://open.iona.com/ -Enterprise Open Integration http://rajdavies.blogspot.com/ On Nov 16, 2007, at 11:12 PM, Jason Rosenberg wrote: Hello, I am t

Re: unable to start ActiveMQ service

2007-11-16 Thread JL
When I encountered this issue it was the result of having installed MQ into a subdirectory of "C:\Program Files". The blasted space character in the directory name tripped up the Java Service Wrapper bat file. HTH. keneida wrote: > > Windows instalation. > After installing the ActiveMQ service.

Network Of Brokers

2007-11-16 Thread Paul Boyes
Hello, We are trying to get a network of brokers up and running. I have seen a lot of discussion on this forum regarding many of the same issues that we are having. I am wondering if this feature works well with durable pub/sub? And, where I might be able to find detailed instructions on the p

How to use TransportListener with FailoverTransport

2007-11-16 Thread Jason Rosenberg
Hello, I am trying to implement a solution based on the TransportListener, in order to use the FailoverTransport. Basically, I don't want to use the maxReconnectAttempts param for FailoverTransport, because I want it to be self-recovering, and to continue retrying, etc. But, I do need it to res

Re: Multiple listeners of single queue message in the same session

2007-11-16 Thread Robert Ginda
I'm ok with starting and stopping consumers when the selector changes. Can you elaborate on what you mean by binding the consumers to the POJOs? Rob. On Nov 16, 2007 1:02 AM, James Strachan <[EMAIL PROTECTED]> wrote: > > On 16/11/2007, Robert Ginda <[EMAIL PROTECTED]> wrote: > > Hi. I'm using

Re: Problem With Camel Example

2007-11-16 Thread ttmdev
Cool, RC3 works! Thanks, Joe James.Strachan wrote: > > BTW I tried the RC3 build and it all worked great - I could send > messages via the Web Console to the example.A queue and see the Camel > route move them to example.B. > > Does RC3 work for you? > http://people.apache.org/~chirino/apach

Re: Problem With Camel Example

2007-11-16 Thread James Strachan
BTW I tried the RC3 build and it all worked great - I could send messages via the Web Console to the example.A queue and see the Camel route move them to example.B. Does RC3 work for you? http://people.apache.org/~chirino/apache-activemq-5.0.0-RC3/maven2/org/apache/activemq/apache-activemq/5.0.0/

Turning off creating of embedded Active MQ broker by ConnectionFactory

2007-11-16 Thread Romantique
Hello gentlemen. Is there any possibility to turn off creating (and starting) of embedded Active MQ broker in case connection string passing to ConnectionFactory starts with "vm://"? The desired behavior is exception informing that connection could not be created (provided no brokers were started

Re: Closing a MessageConsumer hangs if broker already down

2007-11-16 Thread James Strachan
Sorry I misread the stack trace - I thought it was a Connection.close rather than a consumer.close(). I think all the .close() methods should have a timeout and silently complete if the transport is down. On 16/11/2007, TOPPER_HARLEY <[EMAIL PROTECTED]> wrote: > > Strange, just tried it again the

Re: ExportException (ObjID already in use) when creating Connection

2007-11-16 Thread hbruch
Hi, I encountered the same exception. Seems to me that the implementation of ManagementContext.createMBeanServer() should not call createConnector, since this done in findMBeanServer() as well... Regards, Holger dman83 wrote: > > Hi, > > I get the following exception when my code tries to cr

Re: Turning off creating of embedded Active MQ broker by ConnectionFactory

2007-11-16 Thread ttmdev
You can assign any specific xml configuration to your embedded broker via the 'xbean:' option. For example, the vm:// example below starts the embedded broker with the configuration specified in the foo.xml file, which btw needs to be in the broker's class path. vm://localbroker?brokerConfig=xbe

Closing a MessageConsumer hangs if broker already down

2007-11-16 Thread TOPPER_HARLEY
Hi, Using AMQ4.1.1 with standalone server with embedded broker. Client apps have Spring message listeners. If we have client and server running ok and then server is shutdown, along with the broker inside it, any client that is left open cannot cleanly shutdown as it hangs trying to close its mess

Re: Web console build error

2007-11-16 Thread JohnOldman
But, activemq-5.0.0 web console built, and appears to run OK. many thanks ... JohnOldman wrote: > > > Trying activemq-4.1.1 also produces the same error James... > > > James.Strachan wrote: >> >> 4.1 is kinda old; you might wanna try a newer version? >> >> On 16/11/2007, JohnOldman <[

Re: performance issues with slow consumers

2007-11-16 Thread ttmdev
Some things you may want to consider in case you haven't already done so. 1. Enable asynchronous sends for the producers. With async sends, you'll also have to deal with flow control, which you could always turn off. If you can't tolerate lost messages, then consider grouping async sends w/in a

Re: Web console build error

2007-11-16 Thread JohnOldman
Trying activemq-4.1.1 also produces the same error James... James.Strachan wrote: > > 4.1 is kinda old; you might wanna try a newer version? > > On 16/11/2007, JohnOldman <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> Keep getting an error when attempting to build the web console using >> activemq

Re: Closing a MessageConsumer hangs if broker already down

2007-11-16 Thread TOPPER_HARLEY
Strange, just tried it again there with a basic AMQ test (no RCP etc), and I get exception when closing listeners "Transport is not running" and app exits OK. Its the same version of AMQ. What is the behaviour that you would expect, hang or exception? James.Strachan wrote: > > BTW does the same

Re: Web console build error

2007-11-16 Thread James Strachan
4.1 is kinda old; you might wanna try a newer version? On 16/11/2007, JohnOldman <[EMAIL PROTECTED]> wrote: > > Hi > > Keep getting an error when attempting to build the web console using > activemq_4.1, > building with: > Maven version: 2.0.7 > Java version: 1.6.0_02 > OS name: "linux" version: "

Web console build error

2007-11-16 Thread JohnOldman
Hi Keep getting an error when attempting to build the web console using activemq_4.1, building with: Maven version: 2.0.7 Java version: 1.6.0_02 OS name: "linux" version: "2.6.18.2-34-default" arch: "amd64" Has anyone seen this before, though could not find it in any previous posts: <- sni

Re: Closing a MessageConsumer hangs if broker already down

2007-11-16 Thread James Strachan
BTW does the same thing occur in ActiveMQ 5.x? IIRC there's now a timeout on closing things down avoiding this block On 16/11/2007, TOPPER_HARLEY <[EMAIL PROTECTED]> wrote: > > Hi, > Using AMQ4.1.1 with standalone server with embedded broker. Client apps have > Spring message listeners. If we have

Re: ActiveMQ - IBM Performance Harness

2007-11-16 Thread James Strachan
On 16/11/2007, Hasnain Muhammad Iqbal <[EMAIL PROTECTED]> wrote: > What do you currently use for benchmarking activemq on linux ? http://activemq.apache.org/activemq-performance-module-users-manual.html -- James --- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com

Re: ActiveMQ - IBM Performance Harness

2007-11-16 Thread Hasnain Muhammad Iqbal
What do you currently use for benchmarking activemq on linux ? Hasnain M Iqbal On Nov 15, 2007 4:31 PM, Albert Strasheim <[EMAIL PROTECTED]> wrote: > For what it's worth, this same problem also occurs with the latest > ActiveMQ > 5.0 from trunk. > > It might be a good idea to create a JIRA issue

Re: Multiple listeners of single queue message in the same session

2007-11-16 Thread James Strachan
On 16/11/2007, Robert Ginda <[EMAIL PROTECTED]> wrote: > Hi. I'm using AMQ for my first time on a new project, and I could use > a little guidance. > > I'm recording events off of a queue using a message group, and would > like to fan the message out to other consumers on the same java > thread.

Multiple listeners of single queue message in the same session

2007-11-16 Thread Robert Ginda
Hi. I'm using AMQ for my first time on a new project, and I could use a little guidance. I'm recording events off of a queue using a message group, and would like to fan the message out to other consumers on the same java thread. The other consumers will only want to see a subset of messages, an