James, I found the solution to my problem here
http://activemq.apache.org/what-is-the-prefetch-limit-for.html
sorry for the lost time here and thanks...
--
View this message in context:
http://www.nabble.com/I-can%E2%80%99t-receive-more-than-2-messages-simultaneously-with-DefaultMessageListene
Hi James: I’m more close to the problem.
Now I can send multiple streams concurrently but under 2 Mb, when I try to
send streams of size 2 Mb or bigger the transferring is paused without any
complaint.
When i create the output stream the DeliveryMode is not persistent and I
have configured the
James.Strachan wrote:
>
> Are you using separate sessions & producers for each thread?
>
> James
> ---
> http://radio.weblogs.com/0112098/
>
>
yes.
This is the code inside the listener of which there are many instance
running concurrently
connection = (ActiveMQConnection) connection
I have replied this in the spring forum too...
Thx Strachan, following your tread I have localized where is the problem buy
not why it happen
The problem is not in the listener of which will be running multiple
instances for consuming in a concurrent way the incoming message. I have
proved that
I have a listener (in the server side) who receive request for send files
(Streams):
public class RequestUpdateListener implements SessionAwareMessageListener {
private JmsTemplate jmsTemplate;
private String fileUpdateLocation;
public void onMessage(Message requ