Re: Messages are not delivered for a durable subscription using STOMP on reconnect

2009-07-10 Thread Jose Luna
Yes, I've definitely had this scenario working in the past. If I recall correctly, something that tripped me up is that the messages must be persistent with a stomp durable subscription. So try using the 'persistent: true' header when sending the message. I don't believe this is documented

Re: Messages are not delivered for a durable subscription using STOMP on reconnect

2009-07-10 Thread Sidda Eraiah
Tim, >>In Stomp your durable subscription name must be the same as your client >>id, see: http://activemq.apache.org/stomp.html I changed my code to keep the client-id and activemq.subscriptionName headers the same ("testdurable1"), but the messages that were sent to the subscribed topic while be

Re: Messages are not delivered for a durable subscription using STOMP on reconnect

2009-07-10 Thread Timothy Bish
On Fri, 2009-07-10 at 12:27 -0700, Sidda Eraiah wrote: > *Summary of the problem > * > After reconnecting and resubscribing to a durable subscription, ActiveMQ > does not send messages - that were sent to the topic while the client with a > durable subscription was offline. > > I have tested this

Messages are not delivered for a durable subscription using STOMP on reconnect

2009-07-10 Thread Sidda Eraiah
*Summary of the problem * After reconnecting and resubscribing to a durable subscription, ActiveMQ does not send messages - that were sent to the topic while the client with a durable subscription was offline. I have tested this with version 5.1.0 and 5.2.0 with same results. *Details * Here are

Re: Queue does not drain completely.

2009-07-10 Thread mjustin
RakeshRay wrote: > > Thanks for the suggestions, I tried, but does not help. > It could be the problem with the Stomp protocol!. > Anyone using Stomp to Connect to use Active MQ? > > You could use the Stomp client tools on my web site. The download includes a ProducerTool and a ConsumerTool w

Would be grateful for some debugging tips - NMS - Thread deadlock

2009-07-10 Thread mkeenan
I would be exceedingly grateful if someone can help me in my debugging efforts. We are using NMS in a windows service and more often than not we have to kill the service manually because the normal "stop" operation never returns. I have tracked this down to hung threads in NMS but I don't know qu

Re: Problem in Integrating ActiveMQ with JBoss

2009-07-10 Thread chu_man_fu
And whats in your broker-config.xml file? MAX222 wrote: > > > > > http://java.sun.com/xml/ns/j2ee"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"; > version="

Re: Problem in Integrating ActiveMQ with JBoss

2009-07-10 Thread MAX222
http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"; version="1.5"> ActiveMQ inbound and outbound JMS ResourceAdapter ActiveMQ JMS

Re: Queue does not drain completely.

2009-07-10 Thread RakeshRay
Thanks for the suggestions, I tried, but does not help. It could be the problem with the Stomp protocol!. Anyone using Stomp to Connect to use Active MQ? mjustin wrote: > > If it depends on message number / message size, maybe the broker needs > more buffer space, you can try increasing the mem

Re: Introducing delay on a Consumer

2009-07-10 Thread Joe Fernandez
What about using a prefetch limit of 1 in combination with client acknowledge? Joe http://www.ttmsolutions.com mkonda wrote: > > I got a specific issue - I need to introduce a delay in sending a message > to a second consumer. Let me explain: > > There are two consumer on one Destination. A

Re: Cannot send any PERSISTENT message?

2009-07-10 Thread Dejan Bosanac
Hi, are you sure you're using pooled connection factory, since that could cause some problems. http://activemq.apache.org/jmstemplate-gotchas.html You said that you don't see the message in the console, but that message count is incremented. This can happen if your queue is larger than 400 messa

Problem while Installing ACtiveMQ on JBoss

2009-07-10 Thread MAX222
I am using Jboss 4.2.3 and ActiveMQ 5.2.0. I integrated ACtiveMQ on JBoss and while starting JBoss I got the below mentioned error. I checked the file activemq-jms-ds.xml, it is present and is syntactically correct. Still I am getting the error. I need help urgently... 17:20:30,941 ERROR [MainDep

Introducing delay on a Consumer

2009-07-10 Thread mkonda
I got a specific issue - I need to introduce a delay in sending a message to a second consumer. Let me explain: There are two consumer on one Destination. A user is connected to only one of these consumers at any time. So, if one consumer is doing process (say, BUSY), the users are routed to the

Re: Camel with intergated ActiveMQ Web Console and JBoss

2009-07-10 Thread James Strachan
2009/7/10 chu_man_fu : > > I have Camel working great in ActiveMQ intergated into JBoss but only by > modifying my activemq.xml file: > >   xmlns="http://activemq.apache.org/camel/schema/spring";> >        my.package.name >         >                 >             >         >     >     class="org.

Camel with intergated ActiveMQ Web Console and JBoss

2009-07-10 Thread chu_man_fu
I have Camel working great in ActiveMQ intergated into JBoss but only by modifying my activemq.xml file: http://activemq.apache.org/camel/schema/spring";> my.package.name

Re: Problem in Integrating ActiveMQ with JBoss

2009-07-10 Thread chu_man_fu
Can you post the contents of your ra.xml file please. MAX222 wrote: > > > I tried to integrate apache-activemq 5.0.2 with Jboss 4.2.1 . > > After all the changes in xml files while starting the jboss server i got > this WARN > [ActiveMQResourceAdapter] Could not start up embedded ActiveMQ

Re: Async error nullpointerexception

2009-07-10 Thread Gary Tully
what version? Can you reproduce this with trunk or a the current snapshot? If so, please attach your test code and configuration to a new jira issue. 2009/7/9 snake360 : > > Hi, > I want to develop a JMS publisher sending messages as fast as possible (to > test a subscriber appli). For that reaso