[ 
https://issues.apache.org/jira/browse/QPIDJMS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923118#comment-15923118
 ] 

Rob Godfrey commented on QPIDJMS-273:
-------------------------------------

In the JMS client, doing a MessageProducer.close() waits for all outstanding 
async messages to be sent to the broker (and acknowledged?).  Doing a 
Connection.close(), in contrast, does not wait for outstanding transfers to be 
sent.  This may be by design, but should probably be documented somewhere if it 
is not already.

> Unable to send more than 2048 messages (async + persistent)
> -----------------------------------------------------------
>
>                 Key: QPIDJMS-273
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-273
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>            Reporter: Antonin Vyborny
>            Priority: Minor
>
> When I use jms.forceAsyncSend=True flag along with DeliveryMode.PERSISTENT I 
> am unable to receive more than 2048 messages in the queue. I am not receiving 
> any warning/error so from client it looks like all messages are sent, but 
> only 2048 messages are actually found in the queue.
> There is unfortunately nothing in the log either.
> Steps to reproduce: 
> 1) Use the Sender example (org.apache.qpid.jms.example.Sender)
> 2) Set the following in Sender class:
>     private static final int DEFAULT_COUNT = 3000;
>     private static final int DELIVERY_MODE = DeliveryMode.PERSISTENT;
> 3) Set async sending in jndi.properties:
>     amqp://localhost:5672?jms.forceAsyncSend=True
> 4) run the example...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to