Re: Issue using Last Value Queue in Cluster

2019-12-18 Thread Justin Bertram
Just to clarify, did you conduct a load test of some kind which indicated a single broker couldn't handle the connection load? If so, I'd be curious to know the details of that test (e.g. hardware specs, OS, connection load, failure mode, etc.). Justin On Wed, Dec 18, 2019 at 8:39 AM ldebello w

Re: Issue using Last Value Queue in Cluster

2019-12-18 Thread ldebello
Hi Justin, I was thinking about your point regarding performance and my concern is not regarding number of messages is more related to number of connections. In our model you register to our service and you become a consumer in the broker so per each registration we will have at least one connect

Re: Last Value Queue

2019-12-16 Thread Justin Bertram
> Is there any wait to max the number of "in delivery" message, because it seems if I have at least one consumer connected there is no wait to make use of LVQ. If the consumer is connected then the broker will dispatch messages to it. There is no way to force the broker to wait for an arbitrary am

Re: Last Value Queue

2019-12-16 Thread ldebello
Thanks for your answer, I got your point regarding "in delivery" messages. Is there any wait to max the number of "in delivery" message, because it seems if I have at least one consumer connected there is no wait to make use of LVQ. I tried to configure "jms.prefetchPolicy.all=1" to test but it w

Re: Last Value Queue

2019-12-13 Thread Justin Bertram
revious question, because I am checking > different options but getting some weird behaviors. > > We have an Artemis Broker 2.9.0 (Single Node - No Cluster) and doing the > following test > > Queue: State (Last Value Queue) > > Producer Send Message: Message(LVQ_ID="So

Last Value Queue

2019-12-13 Thread ldebello
Hi, This is some kind of related to my previous question, because I am checking different options but getting some weird behaviors. We have an Artemis Broker 2.9.0 (Single Node - No Cluster) and doing the following test Queue: State (Last Value Queue) Producer Send Message: Message(LVQ_ID

Re: Issue using Last Value Queue in Cluster

2019-12-13 Thread Justin Bertram
I addressed your question about global order on the other thread whose subject is "Global Order + Cluster + Message Redistribution." In short, "global order" and "high traffic/volume" are essentially at odds with each other. If you really want global order then don't cluster. If you want high volum

Re: Issue using Last Value Queue in Cluster

2019-12-13 Thread ldebello
I got your point, after analyzing the result it seems when connecting to a different broker is first doing the message aggregation/redistribution and then providing the message to consumer. Given the fact clustering is something good to scale out and LVQ is something like a good feature, I was thi

Re: Issue using Last Value Queue in Cluster

2019-12-13 Thread Justin Bertram
Although the behavior appears incorrect I think it is, in fact, correct. This is because every node in the cluster maintains its own independent queues and therefore the last-value on each node will be different. Furthermore, when messages are redistributed then the last-value can change because ev

Issue using Last Value Queue in Cluster

2019-12-12 Thread ldebello
Hi, I have two Artemis broker (2.9.0) running creating a cluster using UDP, and I hit and issue using LVQ in this way. It general works ok but in some situations it does not. Use Cases: 1) Working as Expected Sending Message to Broker in port 5672: Message(LVQ_ID="Some", Content=985, Queue=Stat

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
A unit test would be best that way it can be reproduced. And any solution can be verified as fixing the problem. Get Outlook for Android On Fri, Jul 5, 2019 at 4:02 PM +0100, "mschmeiser" wrote: I appreciate the discussion but this seems to have gotten off-topic from my orig

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
A test case that recreates the issue is best next steps Get Outlook for Android On Fri, Jul 5, 2019 at 4:02 PM +0100, "mschmeiser" wrote: I appreciate the discussion but this seems to have gotten off-topic from my original issue. The issue of durability and server restarts is

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread mschmeiser
I appreciate the discussion but this seems to have gotten off-topic from my original issue. The issue of durability and server restarts is secondary to the issue that the replacement of a non-destructively consumed LVQ message results in an error being thrown. What are the next steps I should take

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
; > > > > Yes, the last value always wins. > > > > > > The document says "Another common pattern is to have queue "browsers" > > which > > > send all messages to the browser, but do not prevent other consumers > from > > > receiving the messages,

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread yw yw
t; > > > > > > > > > > > > > > > > > > > > > > > > Yes, the last value always wins. > > > > > > The document says "Another common pattern is to have queue "browsers" > > which > >

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
t; > browser is done with them. Such a browser is an instance of a > > "non-destructive" consumer." The fact is we don't remove them in memory > but > > we append records in journal. When the consumer acks the message and > > reference count of message is

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread yw yw
nce count of message is decremented to zero, the ack record and > > delete message record are written into journal. If broker restarts, the > > last value is lost. Not sure it's what we expect? > > > > > > michael.andre.pearce 于2019年7月4日周四 > > 下午11:30写道: > &

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
meaning the last value is always kept in the lvq.When a new messages > > replaces and old then it needs the old one is acked to it is removed, > this > > is the point.Sent from my Samsung Galaxy smartphone. > > Original message From: yw yw Date: > > 04/07/2019

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
s the old one is acked to it is removed, > this > > is the point.Sent from my Samsung Galaxy smartphone. > > Original message From: yw yw Date: > > 04/07/2019 08:42 (GMT+00:00) To: users@activemq.apache.org Subject: > Re: > > A

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
lvq.When a new messages > > replaces and old then it needs the old one is acked to it is removed, > this > > is the point.Sent from my Samsung Galaxy smartphone. > > Original message From: yw yw Date: > > 04/07/2019 08:42 (GMT+00:00) To: users@activemq

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread yw yw
lvq.When a new messages > > replaces and old then it needs the old one is acked to it is removed, > this > > is the point.Sent from my Samsung Galaxy smartphone. > > Original message From: yw yw Date: > > 04/07/2019 08:42 (GMT+00:00) To: users@activemq.ap

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread michael . andre . pearce
(GMT+00:00) To: users@activemq.apache.org Subject: Re: > AMQ 224038 on Last Value Queue Hi,We have encountered the same problems > these days.Right now the JMSNonDestructiveTest passes successfully bcs > persistence isdisabled which means there are no journal operations. If we > enabl

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread yw yw
places and old then it needs the old one is acked to it is removed, this > is the point.Sent from my Samsung Galaxy smartphone. > Original message From: yw yw Date: > 04/07/2019 08:42 (GMT+00:00) To: users@activemq.apache.org Subject: Re: > AMQ 224038 on Last

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread michael.andre.pearce
From: yw yw Date: 04/07/2019 08:42 (GMT+00:00) To: users@activemq.apache.org Subject: Re: AMQ 224038 on Last Value Queue Hi,We have encountered the same problems these days.Right now the JMSNonDestructiveTest passes successfully bcs persistence isdisabled which means there are no journal

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread mschmeiser
So, the LVQ example that came packaged with Artemis doesn't actually work. According to the comments, it publishes three messages, then expects the queue to only have one message (as seen in the browser) and for only one of two invocations of 'receive' to work. Instead, it publishes three messages

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread yw yw
ould it be possible for you to provide more details about how to reproduce > this failure? Perhaps some simple modifications to the last-value-queue > example distributed with the broker would suffice. > > > Justin > > On Wed, Jul 3, 2019 at 4:44 PM mschmeiser wrote: >

Re: AMQ 224038 on Last Value Queue

2019-07-03 Thread Justin Bertram
everything appears to be working as expected. For what it's worth, I'm testing on the tip of the master branch (i.e. 2.10.0-SNAPSHOT). Would it be possible for you to provide more details about how to reproduce this failure? Perhaps some simple modifications to the last-value-queue example d

AMQ 224038 on Last Value Queue

2019-07-03 Thread mschmeiser
Hello I am getting an error "AMQ224039: Failed to ack old reference: java.lang.IllegalStateException: Cannot find add info 5698 on compactor or current records" after every publish of a message to a Last Value Queue except the first time. I am on ActiveMQ Artemis 2.8.1. I know ther

Re: [Artemis, AMQP] last-value queue question: nondestructive consumers

2018-05-01 Thread Lionel van den Berg
f...@gmail.com> Date: 30/04/2018 22:58 (GMT+00:00) To: > users@activemq.apache.org Subject: [Artemis, AMQP] last-value queue > question: nondestructive consumers > currently using Artemis 2.5.0 and AMQP in our tests > question in short: > is there an ability to force last-value

Re: [Artemis, AMQP] last-value queue questions: msg-delay

2018-04-30 Thread michael.andre.pearce
: users@activemq.apache.org Subject: [Artemis, AMQP] last-value queue questions: msg-delay currently using Artemis 2.5.0 and AMQP in our tests question in short: should we be able to use last-value queue and message delay/scheduling together and have scheduled messages be considered as part of the

Re: [Artemis, AMQP] last-value queue question: nondestructive consumers

2018-04-30 Thread michael.andre.pearce
: [Artemis, AMQP] last-value queue question: nondestructive consumers currently using Artemis 2.5.0 and AMQP in our tests question in short: is there an ability to force last-value queue consumers to be non-destructive so the messages remain on the queue? a cool use case which we do in the QPID java

[Artemis, AMQP] last-value queue question: nondestructive consumers

2018-04-30 Thread Dan Langford
currently using Artemis 2.5.0 and AMQP in our tests question in short: is there an ability to force last-value queue consumers to be non-destructive so the messages remain on the queue? a cool use case which we do in the QPID java broker is we create a last-value queue and in the broker we can

[Artemis, AMQP] last-value queue questions: msg-delay

2018-04-30 Thread Dan Langford
currently using Artemis 2.5.0 and AMQP in our tests question in short: should we be able to use last-value queue and message delay/scheduling together and have scheduled messages be considered as part of the last-value queue features. Some of the teams here have started exploring some interesting

Re: Artemis 2.5.0 last value queue property is removed from the queue on broker restart

2018-03-22 Thread rbollarapu
Thanks Michael! -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis 2.5.0 last value queue property is removed from the queue on broker restart

2018-03-22 Thread Michael André Pearce
t;> >>> >>> true >>> >>> >>> I'm writing messages to these queues and the last-value property seems to be >>> working fine. But on stopping the broker and starting up again, the queue >>> doesn't behave like last-valu

Re: Artemis 2.5.0 last value queue property is removed from the queue on broker restart

2018-03-22 Thread Michael André Pearce
iting messages to these queues and the last-value property seems to be >> working fine. But on stopping the broker and starting up again, the queue >> doesn't behave like last-value queue. I can also see in the web-console that >> the last-value checkbox is not checked. Is t

Re: Artemis 2.5.0 last value queue property is removed from the queue on broker restart

2018-03-22 Thread Michael André Pearce
e last-value property seems to be > working fine. But on stopping the broker and starting up again, the queue > doesn't behave like last-value queue. I can also see in the web-console that > the last-value checkbox is not checked. Is that a problem with my address > setting? >

Artemis 2.5.0 last value queue property is removed from the queue on broker restart

2018-03-22 Thread rbollarapu
Hi I'm creating last-value queues using true I'm writing messages to these queues and the last-value property seems to be working fine. But on stopping the broker and starting up again, the queue doesn't behave like last-value queue. I can also see in the web-console that

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-10-30 Thread Martyn Taylor
UDP multicast for server discovery or using a multicast address and/or > queue? > > > > Will they immediately get the last value? > > In a last-value queue the only message for a given value which is stored is > the "last" one received so that will be the one which a c

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-10-29 Thread Justin Bertram
> Can the multicast work for a client who is connecting for the first time? I'm not entirely clear on your question here. Are you talking about using UDP multicast for server discovery or using a multicast address and/or queue? > Will they immediately get the last value? In a last-

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-10-29 Thread Lionel van den Berg
> > > > > > > > > Justin > > > > > > On Fri, Aug 11, 2017 at 5:13 AM, Lionel van den Berg < > lion...@gmail.com> > > > wrote: > > > > > > > Hi, > > > > > > > > I'm currently using activemq a

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-08-12 Thread Justin Bertram
t; > > > > Hi, > > > > > > I'm currently using activemq and now looking into Artemis. One of the > > > interest features I see is the is the last-value queue option. However > > what > > > I want to use it for is for regularly updating dat

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-08-12 Thread Lionel van den Berg
now looking into Artemis. One of the > > interest features I see is the is the last-value queue option. However > what > > I want to use it for is for regularly updating data and not so regular > > updating data where the last value is always the only interesting value, > >

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-08-12 Thread Justin Bertram
ug 11, 2017 at 5:13 AM, Lionel van den Berg wrote: > Hi, > > I'm currently using activemq and now looking into Artemis. One of the > interest features I see is the is the last-value queue option. However what > I want to use it for is for regularly updating data and not so regu

[Artemis] - Can last value queue be sent to multiple consumers?

2017-08-11 Thread Lionel van den Berg
Hi, I'm currently using activemq and now looking into Artemis. One of the interest features I see is the is the last-value queue option. However what I want to use it for is for regularly updating data and not so regular updating data where the last value is always the only interesting value

Re: Artemis: ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE: Messages are not re-delivered if last-value-queue is set as true

2017-05-30 Thread Clebert Suconic
Can you share a test? On Tue, May 30, 2017 at 1:09 AM, vishal3007 wrote: > if ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE is used as acknowledgement > option and queue is marked as last-value-queue, then calling recover() on > the JMSContext does not re-deliver the message. > >

Artemis: ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE: Messages are not re-delivered if last-value-queue is set as true

2017-05-29 Thread vishal3007
if ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE is used as acknowledgement option and queue is marked as last-value-queue, then calling recover() on the JMSContext does not re-deliver the message. Please see the attaced broker.xml for the reference. broker.xml <http://activemq.2283324