Skip to content

Instantly share code, notes, and snippets.

@james-carr
Created November 18, 2011 16:01
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 james-carr/1376851 to your computer and use it in GitHub Desktop.
Save james-carr/1376851 to your computer and use it in GitHub Desktop.
public class MirroredQueue extends Queue{
private static Map<String, Object> arguments = new HashMap<String,Object>(){
{
put("x-ha-policy", true);
}
};
public MirroredQueue(String name) {
super(name,true,false,false,arguments);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment