Project: springxd
Issue XD-3048: RabbitMQ queue cleanup uses wildcard unexpectedly
Calling the API to delete queues uses a wildcard-like behaviour unexpectedly. If I request to delete: {{test-1}} I expect it to delete streams named with the pattern: {{test-1.*}} For example, it would delete: {{test-1.0, test-1.1, etc}} In fact I believe it wildcards before and after the period, e.g.: {{test-1*.*}} And hence would delete: {{test-1.0, test-11.0, test-123.0, etc}} That way of working is potentially helpful, but it's also dangerous because it removes the ability to know that you're only deleting the exact queue you want to in all cases. For the record the commit (https://github.com/spring-projects/spring-xd/commit/2d5f3f706330a6ead8e91c9a7a23d4372715614d) implies that it should work in the more restricted way above, not the less restricted way. (Note: I've marked this as an improvement because, absent documentation, I don't know what the correct functionality is and hence can't say this is a bug)
Story points: 1