RE: Unexpected message order after JMSContext.recover()

2023-07-21 Thread Moritz Heine
Hello, whoever stumbles upon that issue: I figured out that I can achieve the needed behavior by using the the session mode *SESSION_TRANSACTED*. So instead of using *acknowledge()* and *recover()* I'll use *commit()* and *rollback()*. This seems to fix the order when redelivering messages as

Unexpected message order after JMSContext.recover()

2023-05-26 Thread Moritz Heine
Hello, I've observed a somewhat unexpected behavior of message delivery after a recover with the following setup: - Artemis broker (tested with 2.24.0 and 3.0.0) - JMSConsumer (shared durable) *C* with *ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE* - JMSProducer (shared durable) *P*

Re: Cluster bridge and message order

2023-04-20 Thread Oliver Lins
Hi Justin, thank you very, very much! I haven't changed the configuration yet but your excellent explanation absolutely makes sense to me. I also noticed the increasing amount of bridge connection after a graceful shutdown/startup sequence. Enabling persistence is fine for us. I'll change th

Re: Cluster bridge and message order

2023-04-19 Thread Justin Bertram
I was able to take the archive you attached and reproduce the issue in just a few minutes. Thanks for the great reproducer! During reproduction I noticed something odd in the log. In a two-node cluster you would expect each node to have 1 bridge each (i.e. going to the *other* node of the cluster)

Re: Cluster bridge and message order

2023-04-19 Thread Clebert Suconic
Have you looked into message Groups? It seems messages connected to a different consumer during failover and redelivery happened. On Wed, Apr 19, 2023 at 5:32 PM Justin Bertram wrote: > Hey, Oliver. I apologize for the delay on this. It fell off my radar as > I've been concentrating on other tas

Re: Cluster bridge and message order

2023-04-19 Thread Justin Bertram
Hey, Oliver. I apologize for the delay on this. It fell off my radar as I've been concentrating on other tasks. For what it's worth, the community support [1] provided on the mailing list is, as the website says, provided for free on a volunteer basis. I would imagine that everybody on this list h

Re: Cluster bridge and message order

2023-04-19 Thread Oliver Lins
Hi Justin, this question is created about 4 weeks ago. I can imagine that reproducing the unexpected behavior might take some time. But does it really takes that long? Do you still think that  the dev team will give a feedback? Regards, Oliver On 4/12/23 10:10, Oliver Lins wrote: Hi, askin

Re: Cluster bridge and message order

2023-04-12 Thread Oliver Lins
Hi, asking again, is there any news concerning this question? Thanks. Oliver On 4/4/23 09:56, Oliver Lins wrote: Hi, is there any news? Oliver On 3/28/23 10:28, Oliver Lins wrote: Hi Justin, thanks for the info. Pls take the time it needs to analyze. Oliver On 3/27/23 20:27, Justin Ber

Re: Cluster bridge and message order

2023-04-04 Thread Oliver Lins
Hi, is there any news? Oliver On 3/28/23 10:28, Oliver Lins wrote: Hi Justin, thanks for the info. Pls take the time it needs to analyze. Oliver On 3/27/23 20:27, Justin Bertram wrote: Not yet. I'm hoping to get to it at some point this week. I was out of the office last week. Justin O

Re: Cluster bridge and message order

2023-03-28 Thread Oliver Lins
Hi Justin, thanks for the info. Pls take the time it needs to analyze. Oliver On 3/27/23 20:27, Justin Bertram wrote: Not yet. I'm hoping to get to it at some point this week. I was out of the office last week. Justin On Thu, Mar 23, 2023 at 4:31 AM Oliver Lins wrote: Hi, is there any n

Re: Cluster bridge and message order

2023-03-27 Thread Justin Bertram
Not yet. I'm hoping to get to it at some point this week. I was out of the office last week. Justin On Thu, Mar 23, 2023 at 4:31 AM Oliver Lins wrote: > Hi, > > is there any news concerning this question? > > Oliver > > On 3/16/23 13:59, Oliver Lins wrote: > > Hi, > > > > I've attached an arch

Re: Cluster bridge and message order

2023-03-23 Thread Oliver Lins
Hi, is there any news concerning this question? Oliver On 3/16/23 13:59, Oliver Lins wrote: Hi, I've attached an archive containing the test apps, logs and a readme file. If you have any questions pls let me know. Thank you, Oliver On 3/15/23 16:31, Justin Bertram wrote: I just need a w

Re: Cluster bridge and message order

2023-03-16 Thread Oliver Lins
Hi, I've attached an archive containing the test apps, logs and a readme file. If you have any questions pls let me know. Thank you, Oliver On 3/15/23 16:31, Justin Bertram wrote: I just need a way to reproduce what you're seeing so once you get your reproducer in order let me know. Thanks!

Re: Cluster bridge and message order

2023-03-15 Thread Justin Bertram
I just need a way to reproduce what you're seeing so once you get your reproducer in order let me know. Thanks! Justin On Wed, Mar 15, 2023 at 9:36 AM Oliver Lins wrote: > Hi Justin, > > thank you for your fast reply. > > > Would it be possible for you to work up a way to reproduce the > beha

Re: Cluster bridge and message order

2023-03-15 Thread Oliver Lins
Hi Justin, thank you for your fast reply. > Would it be possible for you to work up a way to reproduce the behavior you're seeing? Yes, I can reproduce the behavior. I have simplified producer and consumer Java code to reproduce. The code is not yet the bare minimum necessary to work, but I ca

Re: Cluster bridge and message order

2023-03-15 Thread Justin Bertram
Based on your description, attached configuration, and logs I don't see anything wrong, per se. Would it be possible for you to work up a way to reproduce the behavior you're seeing? Do you ever have more than 1 producer? If so, is the order-of-creation only essential per producer or is it essenti

Cluster bridge and message order

2023-03-15 Thread Oliver Lins
Hi, we are using Artemis with the following setup: - 2 independent broker instances (on 2 hosts) - a cluster configuration to create a Core bridge between both instances (no failover, no HA) - multiple JMS clients produce and consume AMQP messages using topics - the clients do a failover themse

Re: Message order when use PooledConnectionFactory

2015-03-02 Thread bencaogm
Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-order-when-use-PooledConnectionFactory-tp4690796p4692256.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Message order when use PooledConnectionFactory

2015-02-24 Thread Tim Bain
message > sned by JmsTemplate? If not , how can I do to approach it? > > AcgiveMQ Jar version: 5.4.3 > Platform: Linux > Tocmat: 7.0 > Jdk 6.0 > message type: Non persisted queue message. > ActiveMQ server version: ActiveMQ 5.10.0 > > Thanks! > > > > -- >

Message order when use PooledConnectionFactory

2015-02-02 Thread bencaogm
ed by JmsTemplate? If not , how can I do to approach it? AcgiveMQ Jar version: 5.4.3 Platform: Linux Tocmat: 7.0 Jdk 6.0 message type: Non persisted queue message. ActiveMQ server version: ActiveMQ 5.10.0 Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-order-whe

Message order delivery and redelivery

2014-05-02 Thread gllambi
advance! Regards Guzmán -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-order-delivery-and-redelivery-tp4680829.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Test harness to verify Message Order Preservation

2012-08-21 Thread sk92129
upted."); } } super.preProcessDispatch(messageDispatch); } This caused all the messages that should have come later, to not appear at all on the consumer side. -- View this message in context: http://activemq.2283324.n4.nabble.com/Test-harness-to-verify-Mes

Re: Test harness to verify Message Order Preservation

2012-08-21 Thread sk92129
this message in context: http://activemq.2283324.n4.nabble.com/Test-harness-to-verify-Message-Order-Preservation-tp4655158p4655402.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Test harness to verify Message Order Preservation

2012-08-15 Thread sk92129
Hi, I am looking into how to build a configuration and verify a test that preserves JMS message order, as describe in the camel features below: http://activemq.apache.org/exclusive-consumer.html http://activemq.apache.org/message-groups.html The basic requirements for message order

Re: Browsing and message order

2011-10-20 Thread Torsten Mielke
es online, the order of messages is altered. > > Is this an issue anyone is aware of? Are there any settings that might cause > this? Does browsing alter the order of messages yet to be delivered? > > Thanks, > > Fed > > -- > View this message in context: >

Browsing and message order

2011-10-19 Thread fmestrone
Fed -- View this message in context: http://activemq.2283324.n4.nabble.com/Browsing-and-message-order-tp3918428p3918428.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-07 Thread Gary Tully
hat a new Exclusive consumer wouldn't be able to consume > >> messages until the crashed TCP connection/consumer finally closed and > >> released the outstanding messages. > >> > >> Regards, > >> -JD > >> > >> > >> > >

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-07 Thread jerdavis
rds, >> -JD >> >> >> >> >> >> >> rajdavies wrote: >> > >> > >> > On 5 Aug 2009, at 23:13, jerdavis wrote: >> > >> >> >> >> No takers? >> >> -- >> >> View this message in context

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-07 Thread Gary Tully
:13, jerdavis wrote: > > > >> > >> No takers? > >> -- > >> View this message in context: > >> > http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24837185.html > >> Sent from the

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-06 Thread Rob Davies
the crashed TCP connection/consumer finally closed and released the outstanding messages. Regards, -JD rajdavies wrote: On 5 Aug 2009, at 23:13, jerdavis wrote: No takers? -- View this message in context: http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cas

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-06 Thread jerdavis
rote: > >> >> No takers? >> -- >> View this message in context: >> http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24837185.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-05 Thread Rob Davies
On 5 Aug 2009, at 23:13, jerdavis wrote: No takers? -- View this message in context: http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24837185.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. Total

Re: Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-08-05 Thread jerdavis
No takers? -- View this message in context: http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24837185.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-07-28 Thread jerdavis
liver the locked messages at a later (out of order) time? Regards, -JD -- View this message in context: http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24705154.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Queue message order

2009-04-29 Thread Andreas Gies
ring, right? Our application doesn't particularly depend on message order but this behavior is causing my unit tests to fail every third time they are run. :( This also seems problematic for STOMP clients using "client" ack mode. Since newer messages are delivered first, ack&

Re: Queue message order

2009-04-28 Thread Roger Hoover
0 in with both persistent and >> non-persistent messages. Note from the message ids and timestamps that >> the >> newer message is delivered first. >> >> Is there a way to force message delivery order? I don't think selectors >> allow for ordering, right?

Re: Queue message order

2009-04-28 Thread Roger Hoover
ay to force message delivery order? I don't think selectors > > allow for ordering, right? Our application doesn't particularly depend on > > message order but this behavior is causing my unit tests to fail every > third > > time they are run. :( > > > >

Re: Queue message order

2009-04-28 Thread Andreas Gies
r? I don't think selectors allow for ordering, right? Our application doesn't particularly depend on message order but this behavior is causing my unit tests to fail every third time they are run. :( This also seems problematic for STOMP clients using "client" ack

Re: Queue message order

2009-04-28 Thread Bruce Snyder
and > non-persistent messages.  Note from the message ids and timestamps that the > newer message is delivered first. > > Is there a way to force message delivery order? I don't think selectors > allow for ordering, right? Our application doesn't particularly depend on > me

Queue message order

2009-04-28 Thread Roger Hoover
newer message is delivered first. Is there a way to force message delivery order? I don't think selectors allow for ordering, right? Our application doesn't particularly depend on message order but this behavior is causing my unit tests to fail every third time they are run. :(

Re: message order

2008-07-07 Thread Bruce Snyder
On Mon, Jul 7, 2008 at 7:10 AM, aftab gardan <[EMAIL PROTECTED]> wrote: > > hi every body, > i have a problem with message ordering. > > I create message A and Message B. > when consumer catch message A, message A-2 created. > i want to run message A-2 before message B. > > all message in same queu

message order

2008-07-07 Thread aftab gardan
hi every body, i have a problem with message ordering. I create message A and Message B. when consumer catch message A, message A-2 created. i want to run message A-2 before message B. all message in same queue please help. -- View this message in context: http://www.nabble.com/message-order

Re: message order

2007-09-27 Thread AlB
Any ideas? >> >> Am not sure how else we can reroduce it. It could well be fixed in 4.0 >> onwards (there have been many bug fixes since 4.0-RC2). I wonder if >> any solaris users can reproduce the issue? >> >> -- >> >> James >> --- >> http://radio.weblogs.com/0112098/ >> >> > > -- View this message in context: http://www.nabble.com/message-order-tf2120601s2354.html#a12931371 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: message order

2007-09-27 Thread AlB
work with AMQ, and if I can do >> anything else to reproduce the bug? Any ideas? > > Am not sure how else we can reroduce it. It could well be fixed in 4.0 > onwards (there have been many bug fixes since 4.0-RC2). I wonder if > any solaris users can reproduce the issue? > > -

Re: message order (with JAVA CODE)

2007-02-16 Thread Iakov
. http://www.nabble.com/file/6534/order-java.tgz order-java.tgz Iakov wrote: > > Hello, > > I am a new ActiveMQ user and came across an issue. it is my understanding > that the message order in the below setup should be preserved: > > one topic (not a queue) > one produc

Re: message order (again) now in C++

2007-02-16 Thread Iakov
apparently it's a bug. http://issues.apache.org/activemq/browse/AMQ-729 http://issues.apache.org/activemq/browse/AMQ-729 thank u all Iakov wrote: > > Hello, > > I am a new ActiveMQ user and came across an issue. it is my understanding > that the message order in the b

message order (again) now in C++

2007-02-16 Thread Iakov
Hello, I am a new ActiveMQ user and came across an issue. it is my understanding that the message order in the below setup should be preserved: one topic (not a queue) one producer one consumer I am seeing that the order is _not_ preserved. Am i wrong to expect the correct order? in all the