Re: Queue statistics?

2007-03-26 Thread James Strachan
On 3/26/07, ss2 <[EMAIL PROTECTED]> wrote: Is there a way to get queue statistics such as how long a message sits in the queue before being processed, when was the last time the queue received a message? when was the last time a message was consumed off the queue etc? I looked the Queue under j

Re: Problems with VM transport

2007-03-26 Thread uma_rk
To follow up on my last mail: I can perhaps avoid the problem by using distinct brokernames for each webapp; but that would create distinct embedded brokers perhaps? I need both the webapps to share the same broker so they receive messages published by each other. Regards, /U -- O

Re: Problems with VM transport

2007-03-26 Thread uma_rk
Hi - I am using the embedded broker in a servlet container. Each webapp in the servlet container instantiates a connection factory that refers to broker URL of vm://localhost?broker.persistent=false as follows: (Servlet Container (WebApp1

RE: MDB in Spring

2007-03-26 Thread Christopher . Mathrusse
Here is an example from my applications configuration. It's rather simple. There is no MDB interface that needs to be implemented. I managed to implement this by looking through the Spring documentation. I'm using Bitronix as my Transaction Manager so the Connection Factory Bean is a BTM clas

Re: MDB in Spring

2007-03-26 Thread Karthik.Gopalakrishnan
Isnt there someone who has already done a similar thing Please reply Karthik.Gopalakrishnan wrote: > > Hi > > I want to use spring to be used to configure ActiveMQ > right from creating a broker, queue and to make an MDB listen to the > queue.Which is the right place

Queue statistics?

2007-03-26 Thread ss2
Is there a way to get queue statistics such as how long a message sits in the queue before being processed, when was the last time the queue received a message? when was the last time a message was consumed off the queue etc? I looked the Queue under jconsole and just see a few counters such as Q

Re: Problems with VM transport

2007-03-26 Thread Adrian Co
[EMAIL PROTECTED] wrote: Adrian, Thanks for the note. > >Startup: vm://localhost > >During runtime (after an event): > >failover(vm://localhost,tcp://remote:61616) > > > > Would modifying the broker URL of the connection factory cause p

Issue with Durable Topics

2007-03-26 Thread noooby
There is an interesting occurrence that is seen when processing messages via ActiveMQ. ActiveMQ is being used to process messages in a Workflow engine. At a certain point in processing the workflow, it appears that all the messages are being dropped and the processing on the workflow is halted.

Re: Problems with VM transport

2007-03-26 Thread uma_rk
Adrian, Thanks for the note. > >Startup: vm://localhost > >During runtime (after an event): > >failover(vm://localhost,tcp://remote:61616) > > > > Would modifying the broker URL of the connection factory cause problems? > >

is there a fix for MemoryBoundedQueue issue (INF-275) in AMQ 3.2.4

2007-03-26 Thread rmoore
we are running geronimo 1.1.1 with AMQ 3.2.4 and have come across the issue that was reported and fixed in INF-275 (http://issues.apache.org/activemq/browse/AMQ-275). the bug shows that this has been fixed in 4.0.1. is there a way to get the fix in 3.2.4? is there a workaround for this problem th

MDB in Spring

2007-03-26 Thread Karthik.Gopalakrishnan
Hi I want to use spring to be used to configure ActiveMQ right from creating a broker, queue and to make an MDB listen to the queue.Which is the right place to start ? I dont understand the details given in http://activemq.apache.org/spring-support.html properly.There is no m

Re: Problems with VM transport

2007-03-26 Thread Adrian Co
[EMAIL PROTECTED] wrote: Hello... I have a couple of basic questions on ActiveMQ. I would appreciate any hits as I am stuck. I am using ActiveMQ 4.1 with JDK6. 1) When I use an embedded broker with vm transport (vm://localhost) the instantiation of my Spring SimpleMessageListenerContainer alw

Re: Launching ActiveMQ with an Alternative activemq.xml configuration file

2007-03-26 Thread osian
That works great, and to use the same within the wrapper.config, just add a new line with the following wrapper.app.parameter.2=xbean:alternateConfig.xml Thanks again, Osh James.Strachan wrote: > > On 3/26/07, osian <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> Is it possible to, when launch

Re: Launching ActiveMQ with an Alternative activemq.xml configuration file

2007-03-26 Thread James Strachan
On 3/26/07, osian <[EMAIL PROTECTED]> wrote: Hi all, Is it possible to, when launching ActiveMQ, from either the command line or as a windows service (through the wrapper.conf file), to tell activemq to use a different activemq.xml configuration file? e.g. a file located in ACTIVEMQ_HOME/conf/a

Re: How can I completely shutdown ActiveMQ client correctly?

2007-03-26 Thread Hiram Chirino
Doing a connection.close() should be sufficient. On 3/21/07, Dennis Cheung <[EMAIL PROTECTED]> wrote: I have some problem on shutting down the ActiveMQ client (not the broker). I have a Java application using ActiveMQ 4.0.2. (async send is already disabled, tcpNoDelay is enabled) 1. C

Launching ActiveMQ with an Alternative activemq.xml configuration file

2007-03-26 Thread osian
Hi all, Is it possible to, when launching ActiveMQ, from either the command line or as a windows service (through the wrapper.conf file), to tell activemq to use a different activemq.xml configuration file? e.g. a file located in ACTIVEMQ_HOME/conf/alternateConfig.xml Thanks in advance, Osian --

Running http://localhost:8161/demo/ not working for me !

2007-03-26 Thread DomG
All, I have dowloaded the following 4.2 snapshot : apache-activemq-4.2-20070320.165248-33 Having started activemq from the bin dir, I then tried to run the demo application. So from my Browser, when to http://localhost:8161/demo All what I got was :- HTTP ERROR: 404 NOT_FOUND RequestURI=/de

Ajax Precision

2007-03-26 Thread didyeah971
Hi, I posted a message last week, i guess i wasn't precise enough. So I tried to implement a Publisher and a Listener, thanks to an example i found on the forum. It first loads an XML file, and than send it. The problem is that, the file is well sent, i think, but when it's received, it's not reci