Re: wrapper.dll for 64-bit windows platform to run activemq

2009-09-15 Thread Danilo Tuler
magellings wrote: > > Could anyone tell me what edition of the 32-bit wrapper we get when we > download activemq? Hopefully the 32-bit version is community... > >From http://wrapper.tanukisoftware.org/doc/english/download.jsp: "64-bit Windows versions of the Java Service Wrapper are not curr

HermesJMS queue discovery in 5.3-SNAPSHOT

2009-09-15 Thread Robert Nicholson
Does anybody know if JMX naming differs for JMS resource b/w 5.20 and 5.3-SNAPSHOT? When I tried Hermes Discovery with 5.3-SNAPSHOT it didn't discover any destinations where 5.20 finds all destinations.

Re: How to tell if everything in a queue has been processed

2009-09-15 Thread amp834
There's a new plugin in trunk for the broker that you can send a message to to ask statistics on a Destination (Topic or Queue) - and it will send back a MapMessage with the stats in. If you can't wait a while for the 5.3 release - which should be soon - it you can use that. This will wo

Re: Persistence Behavior

2009-09-15 Thread dbczak
Yes I'm using failover. The problem is that if I don't set the maxReconnectAttempts, it waits forever when I call send and the connection is down. But if I set the maxReconnectAttempts, then after it reaches that max number of attempts, it never connnects again. Shouldn't I be able to attempt a

Re: Persistence Behavior

2009-09-15 Thread Bruce Snyder
On Tue, Sep 15, 2009 at 12:20 PM, dbczak wrote: > > OK, I was able to stop it from waiting forever by setting the > maxReconnectAttempts setting.  However,  it still does not behave as > expected. > > Once everything is up and running, I shut down one of the consumers.  In the > producer I get thi

Re: Persistence Behavior

2009-09-15 Thread Bruce Snyder
On Tue, Sep 15, 2009 at 12:03 PM, dbczak wrote: > > Hi, > > I have two consumers running, and one producer (all written in java).  The > producer is sending a message to each consumer with the basic failover > transport.  In the producer, I have the persistent setting set to true. I'm not sure wh

Re: Persistence Behavior

2009-09-15 Thread dbczak
OK, I was able to stop it from waiting forever by setting the maxReconnectAttempts setting. However, it still does not behave as expected. Once everything is up and running, I shut down one of the consumers. In the producer I get this error: DEBUG - Transport failed with the following exceptio

Persistence Behavior

2009-09-15 Thread dbczak
Hi, I have two consumers running, and one producer (all written in java). The producer is sending a message to each consumer with the basic failover transport. In the producer, I have the persistent setting set to true. My problem is that if one of the consumer crashes, when the producer goe

Re: Getting negative number of pending messages

2009-09-15 Thread magellings
Zip file uploaded... http://www.nabble.com/file/p25458793/ConsoleApplication1.zip ConsoleApplication1.zip -- View this message in context: http://www.nabble.com/Getting-negative-number-of-pending-messages-tp22106707p25458793.html Sent from the ActiveMQ - User mailing list archive at Nabble.c

Re: Getting negative number of pending messages

2009-09-15 Thread magellings
I'm attaching a sample app, configurations, and logs in a zip file. This uses the official 1.1 NMS provider. Ran a test against a 5.2 broker...first starting producer sending 100 messages. Shortly after started consumer while those messages were still getting produced. Everything went through

Re: Is it possible to filter/change the queue list order in browser overview?

2009-09-15 Thread nmittal
I found a workaround solution. 1) open standardista-table-sorting.js which is located in the $ActiveMQHOME$/webapps/admin/js/ folder. 2) change the function... function standardistaTableSortingInit() { standardistaTableSorting.init(); } to the following...

Re: Admin Console: Sort on Queue name

2009-09-15 Thread nmittal
This is for anyone interested in this issue.. I found a workaround solution. 1) open standardista-table-sorting.js which is located in the $ActiveMQHOME$/webapps/admin/js/ folder. 2) change the function... function standardistaTableSortingInit() { standardistaTableSorting.in

Re: Messages left on the queue when using a transacted session.

2009-09-15 Thread Robert Nicholson
I'll see what I can do my code uses a lot of abstract behaviour but I'll see I can find other similar test cases and adapt. At work we have Websphere MQ so today I'll be able to compare behaviors. On Sep 15, 2009, at 8:50 AM, Rob Davies wrote: Can we have a test case please ? :) On 15 Sep 20

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread dbczak
I'm very new to ActiveMQ, and this is probably a problem with the way I'm using it. I do not know how to create a JIRA. It would be hard to create a test case without the extra processing code included. The test would be as follows: 1) Run TIPServer.java in 2 locations. 2) Create a new instance

Re: Messages left on the queue when using a transacted session.

2009-09-15 Thread Rob Davies
Can we have a test case please ? :) On 15 Sep 2009, at 14:41, Robert Nicholson wrote: I just tried my app with the 5.3 SNAPSHOT and when I run it I see my process is consuming messages but every single one of them is always left on the queue. This even when my JMS Session is AUTO_ACKNOWLEDGE

RE: Chat JavaScript example

2009-09-15 Thread Knight, Doug
All, I switched from using my sender page to using the console Send To capability. What I have discovered is that in all cases of sending from the admin page, both the Msgs Sent and Msgs Received counters increment. However, the receiver only generates output when I send well formed XML through

simple transacted messaga configuration example using spring

2009-09-15 Thread yair
hi I have a simple queue consumer defined in a spring context, defining "connectionFactory", "jmsDest", and a consumer from the class "JmsTemplate". It works well. Now, the client should decide if it wants to handle the message and return it to the queue if not. How can i do this? using acknowled

Re: Messages left on the queue when using a transacted session.

2009-09-15 Thread Robert Nicholson
I just tried my app with the 5.3 SNAPSHOT and when I run it I see my process is consuming messages but every single one of them is always left on the queue. This even when my JMS Session is AUTO_ACKNOWLEDGE On Sep 15, 2009, at 2:40 AM, Rob Davies wrote: On 15 Sep 2009, at 07:33, Robert Nic

Re: Messages left on the queue when using a transacted session.

2009-09-15 Thread Robert Nicholson
What has changed in the 5.3 SNAPSHOT since Hermes gives me the following error now when performing discovery Has anything changed in regards to how you setup Hermes discovery with 5.3 SNAPSHOT vs 5.20? hermes.HermesException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavaila

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread Rob Davies
On 15 Sep 2009, at 13:01, dbczak wrote: the consumers do have normal url's (see TIPServer.java). But for the sender, what url do I use to send to multiple consumers? -- View this message in context: http://www.nabble.com/Duplicate-Messages-on-Listener-Restart-tp25440673p25452663.html Sent

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread Bruce Snyder
On Tue, Sep 15, 2009 at 6:01 AM, dbczak wrote: > > the consumers do have normal url's (see TIPServer.java).  But for the sender, > what url do I use to send to multiple consumers? Just use the normal URL - tcp://: If you want all subscribers to get a copy of a message, then you should be using t

Re: ActiveMQ performance too slow

2009-09-15 Thread Timothy Bish
On Mon, 2009-09-14 at 16:11 +0200, Francesco Mascioli wrote: > Hi all, > > > > I wrote a simple program using c++ sample, implementing a Producer and a > Consumer class. > > Producer is asynchronous and put data in the queue at high rate (i.e. 1000 > msg/sec). > > Consumer is synchronous a

thanks, everyone. but I need more. :)

2009-09-15 Thread blackbear
at first, thanks for helping me. so, now my TOPIC is dealing with 3200 publishers. but i want more capability. is there any advices for increasing my ActiveMQ Performance? --system- cpu : pentium4 3.0Ghz Physical Ram : 2Ghz Network : Very Fast ActiveMQ Version = 5.2 Release

bridge between activemq and websphere mq

2009-09-15 Thread mukeshs
Hi, I am trying to create a bridge between activemq and Websphere MQ but it is throwing an exception, that it failed to connect to the Queue Manager. The activemq.xml conf i am using is as follows:

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread dbczak
the consumers do have normal url's (see TIPServer.java). But for the sender, what url do I use to send to multiple consumers? -- View this message in context: http://www.nabble.com/Duplicate-Messages-on-Listener-Restart-tp25440673p25452663.html Sent from the ActiveMQ - User mailing list archive

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread Rob Davies
On 15 Sep 2009, at 11:29, dbczak wrote: I used fanout because I need the producer to send the same message to multiple consumers - but only once to each consumer. How do I do this without getting duplicates when the consumer restarts? What should the url be? -- View this message in contex

Re: Duplicate Messages on Listener Restart

2009-09-15 Thread dbczak
I used fanout because I need the producer to send the same message to multiple consumers - but only once to each consumer. How do I do this without getting duplicates when the consumer restarts? What should the url be? -- View this message in context: http://www.nabble.com/Duplicate-Messages

Re: Messages left on the queue when using a transacted session.

2009-09-15 Thread Rob Davies
On 15 Sep 2009, at 07:33, Robert Nicholson wrote: On each occasion when I notice messages are no longer being delivered. If I restart my app after restarting the broker the messages begin to deliver. On Sep 15, 2009, at 12:56 AM, Rob Davies wrote: On 15 Sep 2009, at 06:42, Robert Nichol