activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <marko.aspl...@gmail.com>
Subject Re: Artemis v2.2: ActiveMQIllegalStateException with core API
Date Thu, 24 Aug 2017 08:25:49 GMT
On Thu, 24 Aug 2017 00:54:04 GMT Clebert Suconic wrote:

> A session is supposed to be the contract of a thread.  Aren't you using
the
> same season between producer and consumer and calling commit on both ends
?

The producer and consumers create separate sessions and they aren't shared.
In my actual code they also run as separate processes.
On the consumer side message handler threads share a session, but I guess
that's correct, right?

marko

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message