activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From moreno9000 <>
Subject Re: sendFailIfNoSpace=true, no JMSException for Producer
Date Fri, 30 Oct 2009 13:52:36 GMT

Is my issue similar to this one? AMQ-1022 

In 1022, error was due to a "permission (to write on a queue) problem",
in my case error is due to a "queue full problem",
but in both cases producer receives an exception only in an asynchronous way 


brett.humphreys wrote:
> Moreno,
> Your issue is that you're using async send.  I believe this is the default
> sending type for performance reasons.  However with async send, it puts
> your send in a queue and performs the send out of the calling thread.  
> What you need to do is explicitly disable async send on your producer (or
> via the URI used to create the connection.  More info is here:
> Once you turn this off on the connection your producer is created from,
> you'll get exceptions in the thread that is calling send().  With async
> send, you get better performance but you need to use an ExceptionListener
> to determine if you get exceptions on your send.
> Hope that helps Moreno.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message