Skip to content

Instantly share code, notes, and snippets.

@michaelklishin
Created July 8, 2011 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelklishin/1071372 to your computer and use it in GitHub Desktop.
Save michaelklishin/1071372 to your computer and use it in GitHub Desktop.
public void testQueueRedeclareEquivalence() throws Exception {
declareQueue(TTL_QUEUE_NAME, 10);
try {
declareQueue(TTL_QUEUE_NAME, 20);
} catch(IOException ex) {
checkShutdownSignal(AMQP.NOT_ALLOWED, ex);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment