activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament" <>
Subject Re: Practical ActiveMQ threading restrictions.
Date Sat, 31 Oct 2015 19:24:29 GMT

You have to remember that the specs are generally written from the
application developer's standpoint.  As a result, application developers
must assume that for a portable application to work, the below is true.
NOte that it doesn't say that the client must throw an exception, etc.
This is to allow flexibility in the vendors to build more creative

Probably a good caveat to think about now is that if you don't follow these
rules, non-portable behavior may occur.


On Sat, Oct 31, 2015 at 3:06 PM Kevin Burton <> wrote:

> The JMS threading restrictions are here:
> which basically say if you're using a MessageListener you have to work with
> that message/session within the given onMessage function.
> However, I don't think that's true WRT ActiveMQ is it?
> I accidentally had some threads using commit/rollback/ and
> consumers/producers outside of the original thread and everything worked
> fine.
> Additionally it would be nice to (maybe officially) relax this requirement.
> I'd love to receive messages in one MessageListener event listener and then
> send them between threads.
> Kevin
> --
> We’re hiring if you know of any awesome Java Devops or Linux Operations
> Engineers!
> Founder/CEO
> Location: *San Francisco, CA*
> blog:
> … or check out my Google+ profile
> <>

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