[
https://issues.apache.org/jira/browse/QPID-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell resolved QPID-7420.
----------------------------------
Resolution: Invalid
> Random failure in queue creation/deletion using REST calls
> ----------------------------------------------------------
>
> Key: QPID-7420
> URL: https://issues.apache.org/jira/browse/QPID-7420
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Adel Boutros
> Attachments: Main.java
>
>
> Executing the below sequence for a big number of times (10000 for example)
> will cause it to fail.
> There are 2 failures:
> * Queue deletion: 404 Not found
> * Queue creation: 409 Conflicts
> Pseudo code (each line is a REST API call):
> {code}
> if queue exist
> delete queue
> create queue
> {code}
> Code dependencies:
> {code:xml}
> <dependencies>
> <dependency>
> <groupId>javax.ws.rs</groupId>
> <artifactId>javax.ws.rs-api</artifactId>
> <version>2.0.1</version>
> </dependency>
> <dependency>
> <groupId>org.glassfish.jersey.core</groupId>
> <artifactId>jersey-client</artifactId>
> <version>2.18</version>
> </dependency>
> <dependency>
> <groupId>org.glassfish.jersey.media</groupId>
> <artifactId>jersey-media-moxy</artifactId>
> <version>2.18</version>
> </dependency>
> </dependencies>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]