You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by RakeshRay <Ra...@Proquest.com> on 2009/07/16 00:02:41 UTC
Multiple consumer in exclusive mode does not work.
Starting multiple consumer using Stomp protocol, in exclusive mode kills
others and just keeps one consumerr alive.
How do I get unique messages using multiple consumers?
If I turn off exclusive mode, and run multiple consumers they seems to get
the same message 1% off time.
Any suggestions are welcomed!
Using active mq 5.2
--
View this message in context: http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24506735.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Multiple consumer in exclusive mode does not work.
Posted by Gary Tully <ga...@gmail.com>.
disable producer flow control : see
http://activemq.apache.org/producer-flow-control.html
2009/7/17 RakeshRay <Ra...@proquest.com>:
>
>
> Down loaded latest 5.3 snapshot today and publisher stops after about 5000
> message and I see these messages in the activemq.log file... Any clue?
> 2009-07-17 14:34:13,537 [26.206.67:36664] WARN Usage
> - Memory usage is now at 100%
> 2009-07-17 14:34:34,654 [iveMQ Scheduler] WARN Usage
> - Memory usage is now at 100%
>
>
>
> Gary Tully wrote:
>>
>> 2009/7/17 RakeshRay <Ra...@proquest.com>:
>>>
>>> Good to know that it could be fixed in 5.3.
>>> Please help me understand the fix here...
>>> Was the fix made to the broker? If yes then it should not matter what
>>> protocol I use to get the messages out of the queue!
>>> Am I making sense here?
>>>
>>
>> Sure, the changes that I think may be relevant are to the broker core
>> and are transport independent but would all have used openwire test
>> cases to reproduce.
>>
>>> Or if you can point me to the full detail of the problem and the details
>>> about the fix, that could help me understand better as well.
>>>
>>
>> It is difficult to be exact here but the following query[1] on the
>> activemq jira (broker fixes to 5.2 with duplicate in the text) will
>> give you a feel for the changes.
>>
>> [1]
>> http://issues.apache.org/activemq/secure/IssueNavigator.jspa?reset=true&&query=duplicate&summary=true&description=true&type=1&pid=10520&fixfor=11914&version=11841&component=10763
>>
>>> Thanks you for your time so far.
>>>
>> no problem.
>>
>>>
>>> Gary Tully wrote:
>>>>
>>>> Exclusive Consumers is designed to work that way.
>>>>
>>>> If you have very high load and message spooling to disk you may be
>>>> seeing some duplicate message delivery. Some issues around occasional
>>>> duplicate delivery were addresses on trunk over the past few months.
>>>> The current 5.3-SNAPSHOT should behave better in this regard with the
>>>> caveat that Stomp was not a prerequisite for the behavior.
>>>> If your test scenario does not work as expected with a 5.3-SNAPSHOT
>>>> please raise a jira issue with a test case so we can attempt to
>>>> address the issue for the 5.3 release.
>>>>
>>>> 2009/7/15 RakeshRay <Ra...@proquest.com>:
>>>>>
>>>>> Starting multiple consumer using Stomp protocol, in exclusive mode
>>>>> kills
>>>>> others and just keeps one consumerr alive.
>>>>> How do I get unique messages using multiple consumers?
>>>>>
>>>>> If I turn off exclusive mode, and run multiple consumers they seems to
>>>>> get
>>>>> the same message 1% off time.
>>>>>
>>>>> Any suggestions are welcomed!
>>>>> Using active mq 5.2
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24506735.html
>>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://blog.garytully.com
>>>>
>>>> Open Source Integration
>>>> http://fusesource.com
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24534850.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> http://blog.garytully.com
>>
>> Open Source Integration
>> http://fusesource.com
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24539643.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
http://blog.garytully.com
Open Source Integration
http://fusesource.com
Re: Multiple consumer in exclusive mode does not work.
Posted by RakeshRay <Ra...@Proquest.com>.
Down loaded latest 5.3 snapshot today and publisher stops after about 5000
message and I see these messages in the activemq.log file... Any clue?
2009-07-17 14:34:13,537 [26.206.67:36664] WARN Usage
- Memory usage is now at 100%
2009-07-17 14:34:34,654 [iveMQ Scheduler] WARN Usage
- Memory usage is now at 100%
Gary Tully wrote:
>
> 2009/7/17 RakeshRay <Ra...@proquest.com>:
>>
>> Good to know that it could be fixed in 5.3.
>> Please help me understand the fix here...
>> Was the fix made to the broker? If yes then it should not matter what
>> protocol I use to get the messages out of the queue!
>> Am I making sense here?
>>
>
> Sure, the changes that I think may be relevant are to the broker core
> and are transport independent but would all have used openwire test
> cases to reproduce.
>
>> Or if you can point me to the full detail of the problem and the details
>> about the fix, that could help me understand better as well.
>>
>
> It is difficult to be exact here but the following query[1] on the
> activemq jira (broker fixes to 5.2 with duplicate in the text) will
> give you a feel for the changes.
>
> [1]
> http://issues.apache.org/activemq/secure/IssueNavigator.jspa?reset=true&&query=duplicate&summary=true&description=true&type=1&pid=10520&fixfor=11914&version=11841&component=10763
>
>> Thanks you for your time so far.
>>
> no problem.
>
>>
>> Gary Tully wrote:
>>>
>>> Exclusive Consumers is designed to work that way.
>>>
>>> If you have very high load and message spooling to disk you may be
>>> seeing some duplicate message delivery. Some issues around occasional
>>> duplicate delivery were addresses on trunk over the past few months.
>>> The current 5.3-SNAPSHOT should behave better in this regard with the
>>> caveat that Stomp was not a prerequisite for the behavior.
>>> If your test scenario does not work as expected with a 5.3-SNAPSHOT
>>> please raise a jira issue with a test case so we can attempt to
>>> address the issue for the 5.3 release.
>>>
>>> 2009/7/15 RakeshRay <Ra...@proquest.com>:
>>>>
>>>> Starting multiple consumer using Stomp protocol, in exclusive mode
>>>> kills
>>>> others and just keeps one consumerr alive.
>>>> How do I get unique messages using multiple consumers?
>>>>
>>>> If I turn off exclusive mode, and run multiple consumers they seems to
>>>> get
>>>> the same message 1% off time.
>>>>
>>>> Any suggestions are welcomed!
>>>> Using active mq 5.2
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24506735.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://blog.garytully.com
>>>
>>> Open Source Integration
>>> http://fusesource.com
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24534850.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> http://blog.garytully.com
>
> Open Source Integration
> http://fusesource.com
>
>
--
View this message in context: http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24539643.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Multiple consumer in exclusive mode does not work.
Posted by Gary Tully <ga...@gmail.com>.
2009/7/17 RakeshRay <Ra...@proquest.com>:
>
> Good to know that it could be fixed in 5.3.
> Please help me understand the fix here...
> Was the fix made to the broker? If yes then it should not matter what
> protocol I use to get the messages out of the queue!
> Am I making sense here?
>
Sure, the changes that I think may be relevant are to the broker core
and are transport independent but would all have used openwire test
cases to reproduce.
> Or if you can point me to the full detail of the problem and the details
> about the fix, that could help me understand better as well.
>
It is difficult to be exact here but the following query[1] on the
activemq jira (broker fixes to 5.2 with duplicate in the text) will
give you a feel for the changes.
[1] http://issues.apache.org/activemq/secure/IssueNavigator.jspa?reset=true&&query=duplicate&summary=true&description=true&type=1&pid=10520&fixfor=11914&version=11841&component=10763
> Thanks you for your time so far.
>
no problem.
>
> Gary Tully wrote:
>>
>> Exclusive Consumers is designed to work that way.
>>
>> If you have very high load and message spooling to disk you may be
>> seeing some duplicate message delivery. Some issues around occasional
>> duplicate delivery were addresses on trunk over the past few months.
>> The current 5.3-SNAPSHOT should behave better in this regard with the
>> caveat that Stomp was not a prerequisite for the behavior.
>> If your test scenario does not work as expected with a 5.3-SNAPSHOT
>> please raise a jira issue with a test case so we can attempt to
>> address the issue for the 5.3 release.
>>
>> 2009/7/15 RakeshRay <Ra...@proquest.com>:
>>>
>>> Starting multiple consumer using Stomp protocol, in exclusive mode kills
>>> others and just keeps one consumerr alive.
>>> How do I get unique messages using multiple consumers?
>>>
>>> If I turn off exclusive mode, and run multiple consumers they seems to
>>> get
>>> the same message 1% off time.
>>>
>>> Any suggestions are welcomed!
>>> Using active mq 5.2
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24506735.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> http://blog.garytully.com
>>
>> Open Source Integration
>> http://fusesource.com
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24534850.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
http://blog.garytully.com
Open Source Integration
http://fusesource.com
Re: Multiple consumer in exclusive mode does not work.
Posted by RakeshRay <Ra...@Proquest.com>.
Good to know that it could be fixed in 5.3.
Please help me understand the fix here...
Was the fix made to the broker? If yes then it should not matter what
protocol I use to get the messages out of the queue!
Am I making sense here?
Or if you can point me to the full detail of the problem and the details
about the fix, that could help me understand better as well.
Thanks you for your time so far.
Gary Tully wrote:
>
> Exclusive Consumers is designed to work that way.
>
> If you have very high load and message spooling to disk you may be
> seeing some duplicate message delivery. Some issues around occasional
> duplicate delivery were addresses on trunk over the past few months.
> The current 5.3-SNAPSHOT should behave better in this regard with the
> caveat that Stomp was not a prerequisite for the behavior.
> If your test scenario does not work as expected with a 5.3-SNAPSHOT
> please raise a jira issue with a test case so we can attempt to
> address the issue for the 5.3 release.
>
> 2009/7/15 RakeshRay <Ra...@proquest.com>:
>>
>> Starting multiple consumer using Stomp protocol, in exclusive mode kills
>> others and just keeps one consumerr alive.
>> How do I get unique messages using multiple consumers?
>>
>> If I turn off exclusive mode, and run multiple consumers they seems to
>> get
>> the same message 1% off time.
>>
>> Any suggestions are welcomed!
>> Using active mq 5.2
>> --
>> View this message in context:
>> http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24506735.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> http://blog.garytully.com
>
> Open Source Integration
> http://fusesource.com
>
>
--
View this message in context: http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24534850.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Multiple consumer in exclusive mode does not work.
Posted by Gary Tully <ga...@gmail.com>.
Exclusive Consumers is designed to work that way.
If you have very high load and message spooling to disk you may be
seeing some duplicate message delivery. Some issues around occasional
duplicate delivery were addresses on trunk over the past few months.
The current 5.3-SNAPSHOT should behave better in this regard with the
caveat that Stomp was not a prerequisite for the behavior.
If your test scenario does not work as expected with a 5.3-SNAPSHOT
please raise a jira issue with a test case so we can attempt to
address the issue for the 5.3 release.
2009/7/15 RakeshRay <Ra...@proquest.com>:
>
> Starting multiple consumer using Stomp protocol, in exclusive mode kills
> others and just keeps one consumerr alive.
> How do I get unique messages using multiple consumers?
>
> If I turn off exclusive mode, and run multiple consumers they seems to get
> the same message 1% off time.
>
> Any suggestions are welcomed!
> Using active mq 5.2
> --
> View this message in context: http://www.nabble.com/Multiple-consumer-in-exclusive-mode-does-not-work.-tp24506735p24506735.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
http://blog.garytully.com
Open Source Integration
http://fusesource.com