so with spring DefaultMessageListenerContainer, it does a
consumer.receive, then calls your code, catches the exception, and
rolls back the transaction. redelivery exceeds the limits and the
message is delivered to the dlq.
Activemq does not see the exception at all so it cannot remember it as
a pr
have you tried to use prefetch=0 on the work queue, so the next
message will not be dispatched till you issue another receive call
rather than when the ack occurs.
On 4 May 2011 21:29, Josh Carlson wrote:
> Hi Gary,
>
> Thanks for the response. We've decided it would be easy for us to partition
Hi Gary,
Thanks for the response. We've decided it would be easy for us to partition our
consumers such that they each consumer operates on only one queue. However, the
model we are using retrieves a message from one queue (the job queue), then
grabs something to do from another queue (the work
2011/5/4 Suneel Papineni :
>
> I am getting problems in sending or receiving Unicode messages. Could
> someone please tell me how can I implement this correctly.
We use UTF-8 successfully in ActiveMQ's TextMessage since activemq-cpp-3.0.x.
In particular, we UTF-8 between C++ and Java clients.
On Wed, 2011-05-04 at 18:14 +0100, Suneel Papineni wrote:
> Hi,
>
>
>
> I am getting problems in sending or receiving Unicode messages. Could
> someone please tell me how can I implement this correctly.
>
>
>
> Message contains some Greek characters. I am using wide string or wide
> charact
Hi,
I am getting problems in sending or receiving Unicode messages. Could
someone please tell me how can I implement this correctly.
Message contains some Greek characters. I am using wide string or wide
character array to represent this message in my C++ application. I am
using "TextMessag
Hi Gary
Thanks for replying.
I have attached the log file with trace level for the same use case. Also i
have attached my listener class.
Hope this helps.
Thanks alot
http://activemq.2283324.n4.nabble.com/file/n3496132/activemq.txt
activemq.txt
http://activemq.2283324.n4.nabble.com/file/n349613
can you do that again and include TRACE level logging.
not sure what is going on, but the poisonAck (ackType=1), that is
carries the reason string is being ignored, and it the message is
going to the dlq for some other reason.
note the last line of your log:
2011-05-04 20:31:17,268 | WARN | igno
If I have prefetch set to 1 and I retrieve a message, is another one dispatched
before it is ack'd? I'm trying to scale the number of consumers. My benchmark
test pre-produces 50 messages for each consumer (all in one queue). Then sets N
consumers active and I measure the time it takes to pull t
Hi Gary
Thanks alot for replying.
I am using the tcp protocol with the following broker url:-
tcp://localhost:61616
My application is using the Spring Framework. And i am using the
DefaultMessageListenerContainer for the listeners.
I have attached a log file that captures the following use c
Have you a network connector? If yes did your network connector loss
sometimes the connection to the server broker?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3495716.html
Sent from the ActiveMQ - User mailing list archive at Nabble.co
We finally solved this. When using Firefox a specific flag has to be
set on the XMLHttpRequest object when it is invoked in order to send
the cookies. See
https://developer.mozilla.org/en/http_access_control#Requests_with_credentials.
2011/5/4 Jordi Fernández :
> Scenario:
>
> We have a webapp und
Thanks Tim. It works on Command instance.
-Original Message-
From: Timothy Bish [mailto:tabish...@gmail.com]
Sent: 03 May 2011 18:43
To: users@activemq.apache.org
Subject: Re: Advisory Messages - isConnectionInfo() and isRemoveInfo() methods
On Tue, 2011-05-03 at 18:10 +0100, Suneel Papi
Hi all,
I am new to ActiveMQ. I am trying to configure a bridge between Active MQ
and MQ series. Everything
works fine until the MQ series is being stopped. At this point Active MQ do
not detect that connection id dead and when I restart MQseries and send new
messages they stay stuck in MQ series
Scenario:
We have a webapp under domain http://www.mydomainA.com. ActiveMQ is
under domain http://www.mydomainB.com with the jetty cross-origin
filter active. User agent is firefox 3.6.
The browser makes a request to the webapp under mydomainA and gets the
html with the amq js libraries. The js m
We solved the problem by upgrading the server to 5.4.2.
Not running combination:
Solaris 10 Sparc
JDK 1.6.0_24
ActiveMQ 5.2.0
Running combination:
Solaris 10 Sparc
JDK 1.6.0_24
ActiveMQ 5.4.2
No more hickups in the last 2 days. *Knock on wood*
--
View this message in context:
http://activemq
i think in this line
http://activemq.apache.org/schema/core";
brokerName="localhost" persistent="true"
dataDirectory="${activemq.base}/data" >
persistent="true" is enough for making messages persistance.
please correct me if I am wrong.. or if there is any other solution?
--
View this message
17 matches
Mail list logo