[ https://issues.apache.org/jira/browse/PROTON-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafael H. Schloming resolved PROTON-520. ---------------------------------------- Resolution: Fixed Fix Version/s: 0.7 The root cause of this problem is actually the same as PROTON-528. I've verified that the case in question works now that PROTON-520 has been fixed. > Unable to send messages to more than 256 queues > ----------------------------------------------- > > Key: PROTON-520 > URL: https://issues.apache.org/jira/browse/PROTON-520 > Project: Qpid Proton > Issue Type: Bug > Components: proton-j > Affects Versions: 0.6 > Environment: Tested with: > Qpid Proton 0.6 > ActiveMQ 5.9.0 and ActiveMQ 5.1.0 leatest snapshot > Reporter: Marcin Salata > Assignee: Rafael H. Schloming > Labels: proton-j > Fix For: 0.7 > > > It is unable to send messages to more than 256 queues from one messenger. > Example code: > Messenger mng = new MessengerImpl(); > mng.start(); > for (int i = 0; i < 300; i++) { > Message message = new MessageImpl(); > String address = "amqp://localhost:5672/queue://receiver"; > message.setAddress(address+i); > message.setBody(new AmqpValue("test message")); > mng.put(message); > } > mng.send(); > mng.stop(); > Proton will send messages to 256 queues and hangs. > When sending messages to less than 256 queues eveyrhing is ok. > The same situation occurs using Proton non blocking mode. -- This message was sent by Atlassian JIRA (v6.2#6252)