Is my issue similar to this one?

https://issues.apache.org/activemq/browse/AMQ-1022 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 
(exceptionListener).

Moreno




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:
> http://activemq.apache.org/async-sends.html
> 
> 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: 
http://old.nabble.com/sendFailIfNoSpace%3Dtrue%2C-no-JMSException-for-Producer-tp26094263p26130457.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to